這是我的代碼,我想要在單擊按鈕時隱藏收音機的響應。刪除表格中單選按鈕的選中屬性
<table class='x'>
<tr><td><input type="radio"></td></tr>
<tr><td><input type="text"></td></tr>
</table>
<input type='button' id="a" value="dfrfvrgv">
這裏是jQuery代碼
$('#a').click(function()
{
$('TABLE .x').find('input').removeAttr('checked');
});
但它不工作,似乎是代碼問題。請有人幫助我。