我正在尝试使用链接来检查jQuery的复选框.我的HTML是:
我一直在玩这个jquery:
jQuery('.editbutton').click(function($) { jQuery(this).closest('[type=checkbox]').attr('checked', true); });
不幸的是,这不起作用.有任何想法吗?