JS Radio is selected

Source: Internet
Author: User

<!doctype HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.111cn.net/tr/xhtml1/dtd/ Xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title>js Radio is selected </title>
<script language= "Web Effects" >
function Checkfrom ()
{
var checkzone = document.all ("paymentterms");
var found = false;
for (Var i=0;i<checkzone.length;i++) {
if (checkzone[i].checked) {
Alert (' You have chosen ' +checkzone[i].value ');
}
}
}
</script>

<body>
<form action= "/www.111cn.net/zone.html" method= "post" name= "Zoneform" >
<table width= "620" border= "0" align= "center" cellpadding= "0" cellspacing= "0" class= "bg1" >
<tr>
&LT;TD align= "center" >
<table width= "border=" 0 "cellpadding=" 0 "cellspacing=" 0 ">
<tr>
&LT;TD height= "colspan=" 4 "align=" left "class=" H1 "> Changsha-Furong </td>
</tr>
<tr>

&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Wuyi Square" > Wuyi Square
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "train station" > railway station
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Mawangdui" > Mawangdui
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Mars Town" > Mars town
</td>

</tr><tr>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Million Jia Li" > million Jia Li
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Yang Jia Shan" > Yang Jia Shan
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "paymentterms" value= "Benevolent Garden" > Benevolent Garden
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Ding Wang Tai" > Ding Wang Taiwan
</td>

</tr><tr>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Lotus Garden" > Lotus Garden
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Yuan jialing" > Yuan Jialing
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Literacy Ridge" > Literacy Ridge
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Takahashi" > Takahashi
</td>

</tr><tr>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Leek garden" > Leek Garden
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "People's Village" > People's Village
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Liu Cheng Qiao" > Liu Cheng Qiao
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "Tianxin" > Tianxin
</td>

</tr><tr>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "paymentterms" value= "department Doorway" > Department
</td>


&LT;TD height= "align=" "Left" >
<input type= "Radio" name= "Paymentterms" value= "People East Road" > Renmin Road
</td>


</tr>

<tr class= "BG1" >
&LT;TD height= colspan= "4" align= "left" ><input type= "Radio" name= "Paymentterms" value= "Custom" > Custom < Input name= "Zone.name" size= "value=" "maxlength=" "/>"
<span class= "Gray" > (no more than 10 characters) </span>
<span class= "error" id= "Name_error" ></span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type= "hidden" name= "Zone.infocityid" value= "1126" >
<input type= "hidden" name= "zone.infodistrict" value= "3350" >
<input type= "hidden" name= "GetID" value= "zone" >
<br/>
<div align= "center" >
<input name= "button" type= "button" class= "Sendbutton" onclick= "Javascript:return checkfrom ();" value= "Confirmation"/>
</div>
</form>
</body>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.