This is a migrated thread and some comments may be shown as answers.

Right way to use keyboard "go" button

2 Answers 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 13 Jan 2015, 04:31 PM
What is the right way to capture the pop-up keyword's "go" button for form submission?

I'm using a form with each input in a separate item of the ListView as shown in the examples.  Currently, when the go button is pressed it appears to just clear the form (but may be doing a submit to #).  What does the pop-up keyboard's go button trigger in the form and what's the best way to hook it?

Note that I need to perform processing in JavaScript before doing an AJAX call, so presumably I should hook it with jQuery or one of the Kendo-style custom events (data-xxx), but I'm not sure what the best way is.  (I know that jQuery handling of input events doesn't always work with the mobile widgets.)

2 Answers, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 14 Jan 2015, 04:17 PM

Hello John,

The form submission is not affected by the Kendo UI widgets in it - you can safely use the standard means of intercepting the submit event. 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
John
Top achievements
Rank 1
answered on 15 Jan 2015, 05:20 AM
Thanks.  I'll use $().submit() as usual then.
Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Petyo
Telerik team
John
Top achievements
Rank 1
Share this question
or