一个javascript的问题
问题是这样的 我的一张编辑页面
function actionclick()
{
var i,ok;
' i=document.form1.r1.checked.value;
'alert(i);
ok= window.confirm("确定要修改当前的设定吗?" );
if (ok)
{
form1.action="'ConfirmAddPlan.asp?itme="& i &"'";
form1.submit();
}
} 用来提交
<p>
<input type="radio" value="V1" name="R1"
<%
if stritem="未设定" then
response.write "checked"
end if
%>
>不设定时间
<input type="radio" value="V1" name="R1"
<%
if stritem="预计时间" then
response.write "checked"
end if
%>
>设定预计时间
<input type="radio" value="V1" name="R1"
<%
if stritem="实际时间" then
response.write "checked"
end if
%>
>设定实际时间
</P> 页面初始的时候帮定内容
<input type='button' value='添加提交' name='提交3' onclick='actionclick()'> 修改后提交
问题是 我改变radio的check状态 然后想在提交的时候把radio checked的值传出去 为什么一点反映都没有啊 ??