title: jqgrid - delete row refreshes the page
body: <p>I have the following code for the delete row:</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div class="Delete"&gt;Delete&lt;/div&gt;
  </code></pre>
  
  <p><strong>Jquery</strong></p>
  
  <pre><code>$("div.Delete").live("click", function(){
     toDelete = $("#myjqgrid").jqGrid('getGridParam','selrow');
     $("#myjqgrid").jqGrid('delGridRow',toDelete);
  });
  </code></pre>
  
  <p>So, when I click on the "Delete" <code>div</code>:</p>
  
  <ul>
  <li>I get the confirmation dialog box but it shows up for only 2-3 seconds</li>
  <li>the page is then refreshed automatically</li>
  </ul>
  
  <p>How can I make delete row work on the client side?</p>