You're viewing a comment by zts and its responses.

zts Permalink
October 25, 2008, 02:25

(I'll try that again) Alternate solution for the IP address validation function - same as your first suggestion, but with a condition allowing only numeric values:

function ok(n){ return (n !~ /[^0-9]/) && (n>=0 && n

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

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