Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript select oddness

Status
Not open for further replies.

Laeg

Programmer
Nov 29, 2004
95
IE
I have a select drop down in a html file, the html file includes my javascript as an external file. All good so far.

In my external javascript file I can access the select dropdown like this

document.myform.myselect.options.selected

however

document.all.registration.service.options.value

will not work in an external file but if the code is included in the html file itself all is fine.

How can I access it in my external javascript file? I have tried .all

Thanks for any replies
 
scrap this, was doing something odd myself!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top