我这里有些东西似乎无法帮助我禁用提交按钮.有任何想法吗?
<input type="checkbox" checked="checked" id="checky"><a href="#">terms and conditions</a>
<input type="submit" id="postme" value="submit">
$('#checky').click(function(){
if($(this).checked == false){
$('#postme').attr("disabled","disabled");
} else {
$('#postme').removeAttr('disabled');
}
});
Run Code Online (Sandbox Code Playgroud) 目前我有一个表变量,我希望以这种方式获取其表内容:<table><tr></tr></table>而不是获取Javascript对象.有没有找到可以做到这一点的方法的解决方案?