<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>