Javascript validation - integer check

by Klaas De Waele <klaas(at)gracegraphics.be>

 Date:  Thu, 4 Oct 2001 09:55:52 +0200
 To:  "'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Hi there all,

on a tight deadline... anyone has a generic Javascript lying around which
just check ALL textboxes (or all form elements apart from the last one -
submit button) if they contain a numeric value?  Any integer or just nothing
is allowed.

I'm also checking it in the resulting page, but I thought it would be good
to have it client-side too, so all goes faster and with fewer clicks.


- Kayjey -

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.