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

Reply
Contributor
Posts: 12
Registered: ‎03-28-2012
My Device: 9650
My Carrier: Vodafone

Blackberry webworks focus issue

Hi,

 

I am working on blackberry webworks project, in which using focus based navigation.

Now my problem is i have focus on one button and by clicking that button i am calling ajax which in turn loads new html for another page and loads it to specified div.

 

Now i need to  set focus to one of elements in the loaded html but it not working and focus is still on last focused element.

 

Waiting for solution.

 

Thanks

 

 

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

Re: Blackberry webworks focus issue

Hello,

 

Have you tried setting it like this?

 

   blackberry.focus.setFocus("my_element_id");