摘要: 1、验证ipfunction isIp(ip){ return /^(([01]?\d\d?|2[0-4]\d|25[0-5])\.){3}([01]?\d\d?|2[0-4]\d|25[0-5])(\/(0?[1-9]|[12]\d|3[01]))?$/.test(ip);} 阅读全文
posted @ 2015-07-31 15:02 junjieok 阅读(258) 评论(0) 推荐(0) 编辑