Hi, I'm using jqGrid plugin and I want to add onKeyPress event to each field of edit form.
This code works for IE8, but fails in FF and IE7
{name: 'name', index: 'name', width: 200, editable: true,
sortable: false, search: true, editoptions: { readonly: false, size: 32,
'onKeyPress': 'if($("#cbLanguage").attr("checked"))togeo();' },
editrules: { required: true }}
How to modify this to make it work in IE7 and FF? Thanks.