on-internet
← Community

Updating the html tag using javascript [closed]

Stack Overflow ·

So i have code below which should check the value of the first drop-down selection menu with the id="country" and based on the value currently selected it will change the drop-down options of the second menu. Below is my attempt to solve this problem however it does not work :( any help? EDIT: I'm starting to think that the value of 'var country' is not being updated when it is manually changed, could it be that onChange does not work? i'm using chrome so it should be supported. <div id="forum2"> <form action="#forumhandler.php"> <fieldset> <legend>Shipping Calculator</legend> Country:<br> <se

Comments

Sign in or sign up to comment and upvote.

No comments yet.