随笔分类 -  Jquery

Js的小技巧
摘要:通过上边三种方法就可以取到json中key对应的值原文:http://yuxisanren.iteye.com/blog/1895807 阅读全文
posted @ 2015-12-18 14:37 没有想到好名字 阅读(3115) 评论(0) 推荐(0)
摘要:"window.location.href"、"location.href"是本页面跳转"parent.location.href"是上一层页面跳转"top.location.href"是最外层的页面跳转举例说明:如果A,B,C,D都是jsp,D是C的iframe,C是B的iframe,B是A的iframe,如果D中js这样写 "window.location.href"、"location.hr... 阅读全文
posted @ 2010-08-25 15:25 没有想到好名字 阅读(6461) 评论(0) 推荐(1)
摘要:$('#button').attr('disabled',"true");添加disabled属性 $('#button').removeAttr("disabled"); 移除disabled属性 阅读全文
posted @ 2010-08-25 11:03 没有想到好名字 阅读(1937) 评论(0) 推荐(0)