![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jQuery
iteye_13101
这个作者很懒,什么都没留下…
展开
-
JQuery 操作Cookie
jQuery.cookie = function(name, value, options) { if (typeof value != 'undefined') { // name and value given, set cookie options = options || {}; if (value === null) { ...原创 2010-12-07 16:38:22 · 75 阅读 · 0 评论 -
jquery如何判断checkbox(复选框)是否被选中
谁都知道 在html 如果一个复选框被选中 是 checked="checked"。 但是我们如果用jquery alert($("#id").attr("checked")) 会提示您是true而不是checked 所以很多朋友判断 if($("#id").attr("checked")=="true") 这个是错误的,其实应该是 if($("#id")原创 2010-12-07 17:41:29 · 189 阅读 · 0 评论