View Single Post
Old 04-12-2011, 11:56 PM   PM User | #2
bullant
Banned

 
Join Date: Feb 2011
Posts: 2,699
Thanks: 13
Thanked 395 Times in 395 Posts
bullant is on a distinguished road
For debugging add the alert in red and your error should become clear.

Code:
alert(f+'   '+x.length);

percent=f/x.length * 100
bullant is offline   Reply With Quote