关于radio与label问题联动问题
这个代码如果要将英文部份radio改成label(改变其字体大小)怎么联动呢(注意要是在radio状态改变时不能onClick时)程序代码:
<script type=[color=#800000]"text/javascript"> function copySelect(ooxx) { document.getElementById(ooxx + "_en").checked = "true"; } </script> </head> <body> <div> <form action="" method="post"> <p> <input type="radio" id="bj" name="address" checked="checked" onClick="copySelect('bj')" /> 北京 <input type="radio" id="shh" name="address" checked="checked" onClick="copySelect('shh')" /> 上海 <input type="radio" id="tj" name="address" checked="checked" onClick="copySelect('tj')" /> 天津 <br /> <br /> <input type="radio" id="bj_en" name="address_en" checked="checked" /> BeiJing <input type="radio" id="shh_en" name="address_en" checked="checked" /> ShangHai <input type="radio" id="tj_en" name="address_en" checked="checked" /> TianJin <br /> <br /> <label>BeiJing</label> <label>ShangHai</label> <label>TianJin</label> </form>
[/color]