<html> <head> <!--第一步:把如下代码加入到“head”区域中--> <script> function go(HrefName) { window.location.href = HrefName; } </script> </head> <body> <!--第二步:把如下代码加入到“body”区域中--> <form name="form"> <div align="center"> <input type="radio" name="HrefName" onClick="go('http://www.webjx.com/htmldata/sort/3.html');"> 选中即激发了超链接<br> <input type="radio" name="HrefName" onClick="go('http://www.webjx.com/htmldata/sort/1.html');"> 选中即激发了超链接<br> <input type="radio" name="HrefName" onClick="go('http://www.webjx.com/htmldata/sort/5.html');"> 选中即激发了超链接<br> </div> </form> </body> </html>
|