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
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