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