A jQuery plug-in that similar to windows IP input's style and behavior.
npm install --save jquery-ipv4-input
or
bower install --save jquery-ipv4-input
$("div").ipv4_input();
$("div").ipv4_input("value", "127.0.0.1"); // set IP to 127.0.0.1
$("div").ipv4_input("value"); // return "127.0.0.1"
$("div").ipv4_input("clear");
$("div").ipv4_input("valid"); // return bool
$("div").ipv4_input("rwd");
$("div").ipv4_input({"rwd": true, "value": "127.0.0.1"});
- refine responsive css
- able to set responsive in script
- able to set properties by passing an object