Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 3
Registered: ‎09-17-2012
My Device: Playbook
My Carrier: n/a
Accepted Solution

keyup event fails on Playbook OS Ver. 2.0.1.358

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?

Highlighted
BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: keyup event fails on Playbook OS Ver. 2.0.1.358

Hello,

 

This is working fine for me here.  

 

Could you try downloading the latest Tablet simulator http://us.blackberry.com/sites/developers/resources/simulators.html, and SDK https://developer.blackberry.com/html5/download/sdk

 

Chad

 

New Contributor
Posts: 3
Registered: ‎09-17-2012
My Device: Playbook
My Carrier: n/a

Re: keyup event fails on Playbook OS Ver. 2.0.1.358

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.

Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: keyup event fails on Playbook OS Ver. 2.0.1.358

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.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: keyup event fails on Playbook OS Ver. 2.0.1.358

For example..

 

<input type="text" onkeyup="alert('up');"/>

 

New Contributor
Posts: 3
Registered: ‎09-17-2012
My Device: Playbook
My Carrier: n/a

Re: keyup event fails on Playbook OS Ver. 2.0.1.358

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.