Hi.
I use NKTextField to display the text field. How can I catch the pressing of the enter key on keyboard?
Thanks.
<input type="text" onKeypress="NKAlert('You Pressed:' ,event.keyCode);" />
Big-O wrote:This has not been added yet, at least according to the documentation.
However, you can use the javascript onKeypress event to capture that. The return button fires 13:
- Code: Select all
<input type="text" onKeypress="NKAlert('You Pressed:' ,event.keyCode);" />
Users browsing this forum: No registered users and 2 guests