1.js方案
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>test</title>
<script language=
"javascript"
type=
"text/javascript"
>
var
isChecked =
false
;
function
setChecked (obj) {
isChecked = isChecked ?
false
:
true
;
obj.checked = isChecked;
};
</script>
<body>
<input type=
"radio"
name=
"isTest"
id=
"isTest"
onclick=
"setChecked(this);"
/>
</body>
</html>
2.jQuery方案
$('#AgencyNew_fill_account').attr("checked", false);
$('#AgencyNew_fill_account').attr("checked", true);