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

New Contributor
Posts: 8
Registered: ‎10-20-2012
My Device: Playbook
My Carrier: Rogers

Closing Playbook Keyboard After Input

Hello All,


Building a little app with search field. I assumed, incorrectly, that the keyboard would close if I trapped the enter key...

<input type="text" id="searchString" onKeydown="Javascript&colon; if (window.event.keyCode==13) startSearch()"/>


Search gets performed and results are returned, but keyboard stays open.


Tried document.getElementById('btnSearch').click() as well, with same result. 


Can anybody point me in the right direction?


Thx in advance.



Posts: 14
Registered: ‎10-24-2012
My Device: BlackBerry Z10 Limited Edition
My Carrier: Globe Telecoms

Re: Closing Playbook Keyboard After Input

I haven't tried that one yet. But i think users are the one who "manually" hide the keyboard...
Core Member, PinoyBBDev