【发布时间】:2011-05-25 18:58:09
【问题描述】:
我遇到了这个我试图解决的问题的解决方案(取消选中单选按钮),它工作得很好,但我在谷歌上找不到任何地方 .previous 做了什么,它是 JS 核心还是某个库?
$('input[type=radio]').click(function(){
if (this.previous) {
this.checked = false;
}
this.previous = this.checked;
});
【问题讨论】:
标签: javascript jquery