摘要:
原文链接:http://help.ecmoban.com/article-1629.html ecshop把AJAX事件和JSON解析的模块放在common/transport.js之中,可以说它也有自己封装的一套工具,这其实是很正常的。 但恰恰的,在封装JSON各种方法的同时对object的模型进 阅读全文
摘要:
判断: $("#id").is(":checked") 设置: $("#id").prop('checked',true); 移除: $("#id").removeProp('checked',true); $("#id").removeAttr('checked',true); 阅读全文