jQuery(document).ready(function(){ var lastSel; jQuery("#list").jqGrid({ url:'getdata.php?<?php echo $_GET["var"]; ?>', datatype: 'json', mtype: 'POST',