09-17-2012 02:18 PM
I have a simple text box that I apply an event handler for the keyup event on. But for some reason this keyup event never fires. I see there was a problem with older OS's for phones and this event but is there an issue with the playbook OS and this same event?
Solved! Go to Solution.
09-17-2012 03:07 PM
Hello,
This is working fine for me here.
Could you try downloading the latest Tablet simulator http://us.blackberry.com/sites/developers/resource
Chad
09-17-2012 03:44 PM
Forgot to mention this was failing on the tablet browser not in a seperate app. In JS we add an event handler for keyup. In that handler we are updating and refreshing the value of the textbox. The string is in the text box until such time as focus is moved away from the text box then the text is removed.
09-18-2012 04:44 AM
Are you using an event listener for "keyup" events on the textbox or using the "onkeyup" function of the textbox? Using the last one it works really well for me.
09-18-2012 08:25 AM
For example..
<input type="text" onkeyup="alert('up');"/>
09-18-2012 10:18 AM
yes we are using an event handler we attach to the text box. But I found my issue was the Predictive text feature. Once I turned that off in the code everything worked as expected.