10-27-2011 12:42 AM
I am trying to have add a search box inside the app, to better utilize the space i intend to submit the search query once the user clicks on the input/search text box.
<input type="text" id="search" style="width:80%;" align="center" onclick="searchItems()"/>
I have created an onclick Event with the input box, but it is not working. Would appreciate if someone can point me in right direction.
10-27-2011 07:44 AM
Onblur and onchange dont' get the desired result for example if a user presses back key that will also result into an onblur.
I am talking a search similar to the blackberry app world, i.e. you type in the text and click on the trackpad button again to search it.
11-08-2011 04:07 PM
I got the same problem can anyone respond to this please.... I am using the " onkeypress " and detecting if the user tap on the "return" key on the keyboard but my client is not happy with that implementation... he want the user do a simple "click" in the texbox and do the action instead of pressing "enter"
11-09-2011 09:37 AM
Can I get a little information about your problem.
Where is the code being run (e.g.. WebWorks App, Browser, BF2 App)?
What codeline are you seeing the issue on (e.g.. 5.0, 6.0, all)?
What devices are you seeing the issue on (e.g.. 9800, 9700)?
11-12-2011 12:30 AM
I am trying to implement this in a webworks application.
Device : Curve 9300
It would be great help if you can point me out in the right direction.
11-14-2011 10:26 AM
I copied and pasted the code you had and have it working in a 9300 running 6.0 bundle 2808. Can you provide the exact bundles where it is failing?
01-02-2012 10:38 AM
I am using 9300 , OS 6.0 bundle 2475.
I tried running it again, still not working. This works absolutely fine in the blackbery app world app that i am using, not sure what i am doing wrong in following code
01-03-2012 03:03 PM
I just tested on a 9300 running 6.0 bundle 2475 and was able to get the code working fine...
Maybe you can send me the cod file you generated to see if its in the app or perhaps your phone...
01-03-2012 03:32 PM
Many thanks for your inputs.. There is be no issue with the phone..Trackpad click is working with the blackberry app world as i already mentioned.
I have DM you link to the cod file, where the first textbox is onclick event and the sencond is onkeypress,please suggest what i am doing wrong in the app.