| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
| 7:35 pm on Apr 23, 2003 (gmt 0)|
var char = "0123456789."; <------------********ERROR is here it says runtime error ")" expected
var priceValue = myForm.price.value;
if (i=0; i<priceValue.length; i++)
if (priceValue.charAt(i)< 0 ¦¦ priceValue.charAt(i)> 9 )
if (priceValue.charAt(i)!= '.' ¦¦ priceValue.charAt(i)!= ',')
alert('please enter right amount');
| 7:42 pm on Apr 23, 2003 (gmt 0)|
you need to use parenthesis: function validateForm()
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved