posted 12 years ago
Hi All ,
Please someone provide the javascript code for validation of a input number .
Conditions -
If we input like 0005 ,it should throw error ,but if we input 5 it should not throw any error (It means zeroes are not allowed before any number) .
If we input 0,it should not throw any error (Single zero is allowed ).