Force Text to Upper Case Upon Submit
- jqGridAddEditBeforeSubmit
Your code should be similar to the following
$beforeSubmit = <<<BEFORESUBMITfunction (event, status, postData){ $('input#mytexttoupper').val (function () { return this.value.toUpperCase(); })}BEFORESUBMIT;$dg->add_event("jqGridAddEditBeforeSubmit", $afterSubmit);