You're replying to a comment by zts.

zts Permalink
October 25, 2008, 02:22

Alternate solution for the IP address validation function:

function ok(n){ return (n !~ /[^0-9]/) && (n>=0 && nThis just adds an additional test to assert that the value being tested contains only numeric characters.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "sandbox_100": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.