$.cookie("email", $("#email").val(),
{path: "/", expires: 7
}) }
else {
$.cookie("email", null,
{path: "/"})
}
})
});
{path: "/", expires: 7
}) }
else {
$.cookie("email", null,
{path: "/"})
}
})
});
2016-04-23
$(function () {
if ($.cookie("email")) {
$("#email").val($.cookie("email"));
}
$("#btnSet").bind("click", function () {
if ($("#chksave").is(":checked")) {
if ($.cookie("email")) {
$("#email").val($.cookie("email"));
}
$("#btnSet").bind("click", function () {
if ($("#chksave").is(":checked")) {
2016-04-23
/*自定义验证规则*/
rules: {
email:{
email:true,
required:true
}
},
/*错误提示位置*/
rules: {
email:{
email:true,
required:true
}
},
/*错误提示位置*/
2016-04-23
Success, and let the programming to the more violent it. Next section.
2016-04-23
试试把jQuery改成1.9http://libs.baidu.com/jquery/1.9.0/jquery.js,
2016-04-23