摘要:
可用onblur替换onfocusout 阅读全文
posted @ 2013-11-30 17:19
horizon~~~
阅读(165)
评论(0)
推荐(0)
摘要:
在jQuery API中也有专门解释:Attributes VS. Properties在一些特殊的情况下,attributes和properties的区别非常大。在jQuery1.6之前,.attr()方法在获取一些attributes的时候使用了property值,这样会导致一些不一致的行为。在jQuery1.6中,.prop()方法提供了一中明确的获取property值得方式,这样.attr()方法仅返回attributes。比如,selectedIndex,tagName,nodeName,nodeType,ownerDocument,defaultChecked, 和defaultS 阅读全文
posted @ 2013-11-30 16:34
horizon~~~
阅读(303)
评论(0)
推荐(0)
摘要:
//初始化页面时验证是否记住了密码$(document).ready(function() { if ($.cookie("rmbUser") == "true") { $("#rmbUser").attr("checked", true); $("#user").val($.cookie("userName")); $("#pass").val($.cookie("passWord")); }});//保存用户信息function s 阅读全文
posted @ 2013-11-30 15:44
horizon~~~
阅读(300)
评论(0)
推荐(0)

浙公网安备 33010602011771号