单选按钮怎么验证 在javascript中单选按钮怎么验证是否选中 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在javascript中单选按钮怎么验证是否选中新手 指点指点 在javascript中单选按钮怎么验证是否选中新手 指点指点 好像是用这个"checked"判断这个 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><script language="javascript">function checkform(){if (document.form1.book.checked)alert ("book is checked");if (document.form1.game.checked)alert ("game is checked");}</script><body><form name="form1" method="post" action=""> <input type="radio" name="book" value="radiobutton"> <input name="game" type="radio" value="radiobutton" checked> <input type="button" name="Submit" value="按钮" onClick="checkform()"> </form></body></html> Java字符串内存地址 高分求教Oracle公司笔试答案 求购基于java bpm的oa系统 java如何写包含文件 在JAVA中有这样的方法么? javamail 发送邮件的时候什么发件人的名称是乱码? factory mothod模式主要用于设计什么样的classes windows 64位机器上的java,调用native方法,可否用32位的dll? java编译器 刚刚学习java,希望师兄师姐们多多指教。 初学者都快把头发挠没了 向众人请教 tomcat的线程模型
新手 指点指点
新手 指点指点
判断这个
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<script language="javascript">
function checkform()
{
if (document.form1.book.checked)
alert ("book is checked");
if (document.form1.game.checked)
alert ("game is checked");
}
</script>
<body>
<form name="form1" method="post" action="">
<input type="radio" name="book" value="radiobutton">
<input name="game" type="radio" value="radiobutton" checked>
<input type="button" name="Submit" value="按钮" onClick="checkform()">
</form>
</body>
</html>