marginwidth="0" marginheight="0" src="http://www.aiwo1314.com/googleAdsense/gd468_60.html" frameborder="0" width="468" scrolling="no" height="60" leftmargin="0" topmargin="0">
用javascript取出单选按钮的值
<script language="javascript">
marginwidth="0" marginheight="0" src="http://www.aiwo1314.com/googleAdsense/gd468_60.html" frameborder="0" width="468" scrolling="no" height="60" leftmargin="0" topmargin="0">
function GetRedioValue(name)
{
var r = document.getElementsByName(name);
for (i=0;i<3;i++)
{
if (r[i].checked) {
return r[i].value;
}
}
}
</script>
marginwidth="0" marginheight="0" src="http://www.aiwo1314.com/googleAdsense/gd468_60.html" frameborder="0" width="468" scrolling="no" height="60" leftmargin="0" topmargin="0">
<form name=form1>
<INPUT type="radio" CHECKED value="元/吨" name="PriceType">元/吨
<INPUT
type="radio" value="元/方" name="PriceType">元/方
marginwidth="0" marginheight="0" src="http://www.aiwo1314.com/googleAdsense/gd468_60.html" frameborder="0" width="468" scrolling="no" height="60" leftmargin="0" topmargin="0">
<INPUT type="radio" value="元/总价" name="PriceType">元/总价
<input type="button" οnclick="read();" value="取值">
</form>
marginwidth="0" marginheight="0" src="http://www.aiwo1314.com/googleAdsense/gd336_280.html" frameborder="0" width="336" scrolling="no" height="280" leftmargin="0" topmargin="0">