Thank you, kaht! I had originally had the Reset button reload the page, but it takes a bit of time to do that with all the preloaded select boxes (it took more time than the customers would tolerate), so I will need to go with option 1.
I will now put my efforts into creating arrays and such...
Howdy,
I'm trying to set up my form so that the user can click on a Reset button to reset the form to the original values that were in the select boxes. However, it appears that while this works with most of my select boxes, there are a few that it isn't working on.
I have a select box that...
Thank you, kaht and dwarfthrower, for taking the time to not only answer my question but to explain <b>why</b> my code wasn't working. I am still struggling to gain some mastery over Javascript and the explanations help me learn more about it. I appreciate it very much!
Howdy,
I'm trying to delete options based on a substring of their value but my code will only delete the first option and no others even though they match the substring.
The list in the select box will be dynamic so I can't always say "delete the first three options." I can control the value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.