how to disable asp.net menu with javascript
<p>I am using asp menu.I want to disable it and enable it using javascript.
Please help</p>

<pre><code>  &lt;asp:Menu ID="MainMenu" runat="server" Orientation="Horizontal" DataSourceID="HAPSMainMenu" 
                MaximumDynamicDisplayLevels="3" DynamicEnableDefaultPopOutImage="true" StaticEnableDefaultPopOutImage="false"
                CssClass="mainMenu" DynamicVerticalOffset="1" DynamicHorizontalOffset="0" 
                OnMenuItemDataBound ="mainMenu_DataBound" Height="18pt" Width="100%"
                 &gt;

                &lt;StaticMenuItemStyle CssClass="menuItem" Width="125" /&gt;
                &lt;DynamicMenuStyle CssClass="subMenu" /&gt;
                &lt;DynamicMenuItemStyle CssClass="subMenuItem" Width="120pt"  /&gt;
                &lt;DynamicHoverStyle CssClass="subMenuItemHover" /&gt;
                &lt;DynamicSelectedStyle CssClass="dynamicselectedStyle" /&gt;
                &lt;StaticHoverStyle CssClass="menuHover" ForeColor="midnightblue"/&gt;
                &lt;/asp:Menu&gt;
</code></pre>

<p>I want to disable the whole menu bar with Javascript  and I have the menu Id by using firefox...I was hoping for a statement that would disable the whole menu.</p>
