HTML代码修改了以后就没有效果,jQuery部分要怎么改!
【jQuery代码】$(function(){$("ul.categories input").click(function(){ var children=$(this).next();var isChecked=$(this).prop("checked");if(children){ if(isChecked){ children.find("input").prop("checked","checked");}else{ ...