我需要一个 JQuery IP 掩码插件

JQuery 有好的 IP 掩码插件吗?我试过 Masked Input Plugin 但它没有小于 12 的 IP 地址位数.然后我尝试了 meioMask 并且这也不适用于少于 12 位的数字.有什么建议吗?

Is there a good IP Mask plugin for JQuery? I've tried Masked Input Plugin but it doesn't IP Addresses with less than 12 digits. Then I've tried meioMask and this doesn't work with less than 12 digits either. Any suggestions?

推荐答案

你可以在这篇文章中找到你的答案:

You can find your answer in this post :

http://mlntn.com/2009/12/30/jquery-ip-address-plugin/

还有一个演示供您尝试

http://mlntn.com/demos/jquery-ipaddress/

相关文章