Web Development and Design Blog
28. Feb, 2008 5 Comments
function is_numeric(value){ return !!isNaN(value); }
if(!is_numeric('1234five')){ alert('Please enter only numeric value!'); }
very helpful madame…
Doesn’t seem to work in Firefox 3.0.10 on Ubuntu Linux. (All strings return True.)
Hello! I like the design of your blog (and content too btw) and I would like to know what theme are you using? Is it your own design or free theme? thanks in advance, regards Pete
Hey, thanks for the blog post, but can you tell me what’s this theme you’re using in your blog? Thanks in advance, Pete
There may be a typo in the function that may explain Brian’s problem.
Shouldn’t it be:
function is_numeric(value){ return !isNaN(value);//single ! }
Notify me of followup comments via e-mail
very helpful madame…
Doesn’t seem to work in Firefox 3.0.10 on Ubuntu Linux. (All strings return True.)
Hello! I like the design of your blog (and content too btw) and I would like to know what theme are you using? Is it your own design or free theme? thanks in advance, regards Pete
Hey, thanks for the blog post, but can you tell me what’s this theme you’re using in your blog? Thanks in advance, Pete
There may be a typo in the function that may explain Brian’s problem.
Shouldn’t it be:
function is_numeric(value){
return !isNaN(value);//single !
}