Call this function on event ONClienClick of image button.Menu1 is the ID of menu. function MakeVisible() { var menu=document.getElementById('Menu1'); menu.style.display='none'; return false; } html view for image button as below. <asp:ImageButton ID="ImageButton1" runat="server" OnClientClick="return MakeVisible()" /> For making visible,then give, menu.style.display=block;
Arun J
modified on Thursday, January 31, 2008 3:35:39 AM