select

The select event is fired when menu item is selected.
It has two parameters:

  • element - represents the list item.
  • item - represents the data item.

<ul id="menu1">
    <li>Open</li>
	<li>Save</li>
	<li>Exit</li>
</ul>

<script type="text/javascript">

     $(function () {
        $("#menu1").shieldMenu({
            events: {
                 select: function (event) {
                     alert("Menu item got selected.");
                 }
             }
        });
     });

</script>