Javasript - The always useful isNaN native function

Oscar Brito



To test if something is a number in javascript ( native javascript function ):


var is_number = !isNaN("lol")



Visit www.divhide.com for more informations, contacts and news about Web Development.
See other blog posts at blog.divhide.com.

Divhide purpose is to follow the HTML5 movement and contribute with applications which prove the quality of technology.
Feel free to contact divhide.