文章分类 -  jquery

摘要:$('#check_all').click(function(){ var i=$(':checkbox').prop('checked'); $(':checkbox').prop('checked',i);}); 阅读全文
posted @ 2014-09-02 11:41 page wang 阅读(63) 评论(0) 推荐(0)
摘要:header("Access-Control-Allow-Origin: *");服务端php加入上述语句可成功调用资源 阅读全文
posted @ 2014-09-02 11:39 page wang 阅读(55) 评论(0) 推荐(0)
摘要:// 选取了test的父节点的父节点 类名是.control-group 移除了error$('#test').parent().parent('.control-group').removeClass('error');// 选取了test的相邻节点.help-inline$('#u_phone1... 阅读全文
posted @ 2014-09-01 16:46 page wang 阅读(119) 评论(0) 推荐(0)