ISNAN in javascript

{ Posted on 1/17/2010 11:28:00 AM by Silvercode }
isNaN(value) function
Well, isNan function determines whther a value is number or not.. if it is not a number, it returs true else it returns false...

eg: ISNAN("Hello") returns true
ISNAN(123) returns false
And in certain cases, javascript returns NAN in your textbox even though its a number,if you are pressing tab key.. if that is the case inorder to avoid it..just assign the next textbox value to 0 where it appears as NAN.
i.e. document.getelementbyid("idname").value =0;
This will do the trick...
Happy coding...