Skip to content

Utility that allows you to enter only the characters that match the format ip.v4

Notifications You must be signed in to change notification settings

mavDev/jquery.ipmask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jquery.ipmask

Utility that allows you to enter only the characters that match the format ip.v4

example of the use: http://jsfiddle.net/mavDev/DhNfN/2/

  1. link jquery
  2. link lib
  3. add input field
  4. init filter
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta http-equiv='pragma' content='no-cache'>
</head>
<body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.ipmask.js"></script>
<input type="text" name="" id="testip"/>
<script type="text/javascript">
    $('#testip').ipmask();
</script>
</body>
</html>

About

Utility that allows you to enter only the characters that match the format ip.v4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published