Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

On iOS browser forms, an accessory bar is shown with Done button and next/prev buttons to move between fields. I would like to capture the Done button click event on the accessory Bar and perform some custom action. JQuery/ JQuery mobile solutions are welcome.

I do not want to use blur/focusout, because blur is called even when other elements are tapped. I would like to submit the form when this Done button is called and not submit when other actions happen.

I have already tried binding the keypress event with keycode 13. But it captures only the event when user presses done/submit key on the bottom of the keyboard and not the button on accessory bar.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.