Validation (IP Address) | JavaScriptSource

Validation (IP Address)

Jay Bienvenu Nov 23, 2000
Verify the value of an IP address. Check for special cases such as "0.0.0.0" and "255.255.255.255". Cool!
IP Address:

The JavaScript Source: Forms: Validation (IP Address)

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
1 comment)

Hi, Thanks. Could you please provide javascript which can validate 192.168.1.0/24 as well.

Haseeb Jul 18, 2012