编辑文本后点击显示结果
www.WoYouXian.net 我有闲 IT 教程
<html> <body> <form> Male: <input id="male" alt="male" type="radio" name="Sex" value="Male" /> <br /> Female: <input id="female" alt="female" type="radio" name="Sex" value="Female" /> </form> <p>The alt text for the radio buttons are: <script type="text/javascript"> document.write(document.getElementById('male').alt); document.write(" and "); document.write(document.getElementById('female').alt); </script></p> </body> </html>
© 2007-2008 woyouxian.net 版权所有
Contact Us