In iOS browser formats, the Finish button and the next / prev buttons to move between fields are displayed on the accessory panel. I would like to capture the event of clicking the "Finish" button on the accessory panel and perform some user actions. JQuery / jQuery mobile solutions are welcome.
I do not want to use blur / focusout, because blur is caused even when other elements are used. I would like to submit the form when this βFinishβ button is called and not submitted when other actions occur.
I already tried to associate the key press event with key code 13. But it only captures the event when the user presses the "make" / "send" key at the bottom of the keyboard, and not the button on the accessory panel.
source share