我尝试序列化对象数据,通过PHP使用PHP.js的序列化包保存到文件中。 铬:细 FF:细 IE9:细 IE9兼容模式(基本上IE7):不细。从控制台 错误: SCRIPT5022: Exception thrown and not caught
serialize.min.js, line 144 character 55
序列化的数据基本上是这样的: a:180:{s:40:"Aleks
我可以使用preg_match验证jQuery中的电话号码吗?这里是我的代码不工作 if (!preg_match("/^[0-9]{3}-|\s[0-9]{3}-|\s[0-9]{4}$/", phone.val())) {
phone.addClass("needsfilled");
phone.val(phonerror);
}
HTML <inp