Focus server control with javascript

B

Benny

Hi,

I have a problem to use javascript to SET focus ON an ASP.Net server
control when smartNavigation is on.

This javascript:

document.getElementById("clientID").focus();

However, only it is not always working and I am not sure in what under
what circumstance it dose not work.

Can anybody tell me that why is it not working? And
Are there anyway to work around it?

Thank you very much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,109
Messages
2,570,671
Members
47,262
Latest member
EffiePju4

Latest Threads

Top