title: whole page refresh on map jquery
body: <p>I display map on whole page like this </p>
  
  <pre><code>     &lt;div id="map_canvas"&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>UPDATE 2:
  ok now i succesffuly display menu on map but the probelm is when i click on button menu display and then immediately disappear again and also whole map is refresh which i dont want</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
  
  $(document).ready(function () {
  
  $('#btnmenu').click(function () { $('#menu').show();
  
  }); });
  
  &lt;/script&gt;
  
  &lt;body style="margin:0px;padding:0px;"&gt;
      &lt;form id="form1" runat="server"&gt;
  
          &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;&lt;/asp:ScriptManager&gt;
  
           &lt;div id="map_canvas"&gt;
  
      &lt;/div&gt;
         &lt;div&gt;
              &lt;asp:Button ID="btnmenu" runat="server" Text="Menu" /&gt;
          &lt;/div&gt;
  
           &lt;div class="tabsleft" id="menu" style="display:none"&gt;
  
      &lt;ul &gt;
      &lt;li&gt;
      &lt;a&gt;&lt;img class="imga" alt="dashboard" src="images/eve.bmp" border="0" /&gt;DASHBOARD&lt;/a&gt;
      &lt;/li&gt;
  
      &lt;/ul&gt;
      &lt;/div&gt;
  
  
      &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/FW0px.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FW0px.gif" alt="enter image description here"></a></p>