Integer test

Results 1 to 2 of 2

Thread: Integer test

  1. #1
    Join Date
    Dec 1969

    Default Integer test

    hi..I was wondering if anyone knew a small routine to check for a form field which should only contain integers.<BR><BR>Thanks in advance!

  2. #2
    Join Date
    Dec 1969

    Default RE: Integer test

    parseInt(field).isNaN() would be a favourite - read the reference available to the left of this page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts