jQuery代码学习
squirrel12345
这个作者很懒,什么都没留下…
展开
-
return +new Date
In jQuery 1.3.2 core.js, there is function: [code="java"]function now(){ return +new Date; }[/code] as you see, it's return value use "+", what does it mean? After check for some reference, ...2009-08-22 22:27:44 · 167 阅读 · 0 评论 -
jQuery中Select的问题
设置select框option的selected属性时,最好用 option.selected = true; option.setAttribute("selected", "selected"); 在出现form.clone()时会无法记录jQuery的attr为option设置的selected,所以用上面的方式更可靠一些...原创 2009-09-07 14:58:42 · 127 阅读 · 0 评论