title: How to reload JqGrid grid
body: <p>I have a  on my page with semesters as a selection option.
  When a semester is selected a JavaScript function is called passing as parameter the id semester.</p>
  
  <pre><code>&lt;select name="semester" id="semester" onchange="getStudents(this)"&gt;
   &lt;option value="1"&gt;Semester 1&lt;/option&gt;
   &lt;option value="2"&gt;Semester 2&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And my jqGrid has the following</p>
  
  <pre><code>function getStudents(semester) {
      var $table= $("#students_list");
      $table.jqGrid({
        url:'getStudents/?semester='+semester,
        datatype: "json",
        mtype: 'POST',
        colNames:['id','Student','Semester'],
        colModel:[
          {name:'studentId'},
          {name:'studentName'},
          {name:'semester'}
       ],
      viewrecords: true,
      gridview: true
      });         
  }  
  </code></pre>
  
  <p>But I can only see the results the first time when I call getStudents function.</p>