The button above uses the below code snippet to submit local array back to server through Ajax POST. jQuery Form plugin is required. Users must supply their own server-side save routine URL e.g. "save_local_array.php" <script src="http://malsup.github.com/jquery.form.js"></script> <form id="admin_form"> <div> <input type="submit" value="Submit Local Changes"> </div> </form> <script> $(function() { // bind to the form's submit event $('#admin_form').submit(function(event) { $(this).ajaxSubmit({ type: 'post', dataType:'json', url:'save_local_array.php', data:{ langArray:[] //leave as empty array here }, beforeSubmit: function(arr, $form, options){ options.langArray = $('#data1').jqGrid('getRowData'); // get most current console.log(JSON.stringify(options.langArray)); // return false; // here to prevent submit }, success: function(){ // add routine here when success } }); // return false to prevent normal browser submit and page navigation return false; }); }); </script>