jsはradioが選択されているかどうかを判断する(一)
8274 ワード
< html >
< head >
< title >
votejsp
< / title >
< script language = "javascript" type = "text/javascript" >
< / script >
< / head >
< body bgcolor = "#ffffff" >
< h1 >
< / h1 >
< h3 >
1: ,
< / h3 >
< form method = "post" action = "voteservlet" name = "frmvote" onsubmit = "return(validate())" >
< br > < br >
:< br / >
< input type = "radio" name = "radiobutton" value = "A" / > A . < br / >
< input type = "radio" name = "radiobutton" value = "B" / > B . , < br / >
< input type = "radio" name = "radiobutton" value = "C" / > C. , < br / >
< input type = "radio" name = "radiobutton" value = "D" / > D. , < br / >
< input type = "submit" name = "Submit" value = " " >
< input type = "reset" value = " " >
< / form >
< / body >
< / html >