I have a TuniEdit on a form for search functionality. I do not want to trap the OnKeyPress event on the server side because of all the traffic hence I have added the event below:
ClientEvents | ExtEvents | Ext.form.field.text
function keypress(sender, e, eOpts)
{
if (e.getKey() == 13 ) {
sender.showMask('Searching...');
ajaxRequest(sender, 'doSearch', [editboxText?]);
}
}
I am not sure how to obtain the text from the TuniEdit to send through as a parameter?
Does anybody know?