Parent.FrameName.FormName.FormElement.Focus

J

Jon

Hi,

I don't use JavaScript much so forgive me if this is basic.

I have a three part web page, in frames. A header, a left hand
'searchframe' and a main frame. In the main frame I require a link that
goes to a ListBox in the search frame.

I have

<a href="#" onClick="parent.leftFrame.SearchForm.select1.focus">

Having clicked the link I press the tab key to see where the focus is/was it
goes to the next element in my main form.

I'd like the focus to go to the search form and select the listbox as if the
visitor has clicked the list.

how ??!!

Thank you

Jon
 

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

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,165
Latest member
JavierBrak
Top