cancel
Showing results for 
Search instead for 
Did you mean: 

Focus on the input field

Former Member
0 Kudos

Hi ,

I have a requirement like this .

we developed an application and we are using Black Berry simulator 8330 to run the application.

once if i click on button it has to show input filed and focus has to be there on the input filed.but in our application once i click on button it is opening up the input filed and focus is going to the top of the page in the simulator . hoe to puit the focus on the input field once i click on the button?

Thanks in advance.

Regards,

Pavani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi pavani,

document.getelementbyID(inputfield name).focus();

write the above code in the Click event...

Regards

Manohar