For this particular case of form validation, you don't have to write custom client-side script. Use the ASP regular expression validator. The framework will send javascript to uplevel browsers and will validate all submissions server-side (new and old browsers).
You can disable autopostback per...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.