一单击 name为aa的单选按纽
就response.write "执行"!!!!!!!
来帮帮.
我记得 用onclick
来帮帮
<script language="JavaScript">
function offButton()
{
var the_box = window.document.form_1.radio_1;
if (the_box.checked == true) {
window.document.form_1.radio_2.checked = false;
window.document.form_1.text.value="rtc这小子真聪明";
}
}
function onButton()
{
var the_box = window.document.form_1.radio_2;
if (the_box.checked == true) {
window.document.form_1.radio_1.checked = false;
window.document.form_1.text.value="rtc这小子连WOW都不知道";
}
}
</script>
<form name="form_1">
<p><font color="red"><input type="radio" name="radio_1"
onClick="offButton();"> </font><font
face="宋体" color="red"> 聪明<br>
<input type="radio" name="radio_2" onClick="onButton();" checked> 苯苯<br>
<input type="text" name="text">
</font></p>
</form>
[此贴子已经被作者于2007-7-17 15:42:45编辑过]