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