I have an HTML form containing some textboxes and two jqGrids. The user selects items from the first grid, and that moves them into the second grid. I want to submit the data from the textboxes, as well as the selected items (ie those in the second grid) as part of a FormCollection object back to my Controller. What would be the best way of doing this?
A:
Use the serializeGridData option;
serializeGridData: function(postdata) {
return JSON.stringify({id: $("#id").val(), otherdata: $("#otherData").val(), paging: postdata });
},
CmdrTallen
2009-12-04 15:22:59