Wow, that worked perfectly.
I think it would have taken a very long time before I figured that one out on my own.
Thank you very much for your help. :)
User Profile
Collapse
-
Code in action
Here is a shortened version of the code:
...Code:window.onload = initForm; window.onunload = function() {}; function initForm() { document.getElementById("make").selectedIndex = 0; document.getElementById("make").onchange = populateModels; document.getElementById("models").onchange = modelSelected; }Leave a comment:
-
FF vs IE "onchange" Question
Hello, quick question (hopefully):
I have a script that manipulates two "Select" elements. My onload calls a function that sets onchange for each "Select":
The code works fine in Firefox (of course), but IE only recognizes the...Code:document.getElementById("make").onchange = populateModels; document.getElementById("models").onchange = modelSelected;
No activity results to display
Show More
Leave a comment: