编辑下面的代码:【加编码】
<html> <head> <script> function setAlign() { alert("Some javaScript...."); } </script> </head> <body> <menu> <command type="radio" label="Left" onclick="setAlign('left')">Left</command> <command type="radio" label="Center" disabled onclick="setAlign('center')">Center</command> <command type="radio" label="Right" onclick="setAlign('right')">Right</command> </menu> <p><b>Note:</b> The disabled attribute is currently only supported in IE9.</p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂