JQuery Plugin To Validate The Input Value For The IP Address | IpInput


IpInput is a small jQuery IP address validation plugin that can be used to check if a v4 IP address (or IP address range) is valid upon sending.

This library checks the value of the entered IP address. Entering a single IP address, IP address range, or IP address with netmask is supported. Takes parameters: ColorTrue – sets the color of the text when it passes the test.

How to make use of it:

1. Load the jQuery library and the IpInput plugin within the HTML file.

<script src="/path/to/cdn/jquery.slim.min.js"></script>
<script src="/path/to/jquery.IpInput.js"></script>

2. Attach the plugin to your IP input and completed it.

<input id="ipinput" />

3. Specify the color of the IP address when valid/invalid.

    ColorTrue: "black", 
    ColorFalse: "red"

Validate IP Address In Input Field, IpInput Plugin/Github

See Demo And Download

Official Website(witomin): Click Here

This superior jQuery/javascript plugin is developed by witomin. For extra Advanced Usages, please go to the official website.