<form>
<select id="dropdown" name="dropdown" onchange="changeHiddenInput(this)">
<option value="j.hotmail.com">Jens</option>
<option value="a.hotmail.com">Adam</option>
<option value="d.homtail.com">Dan</option>
</select>
<input type="hidden" name="hiddenInput" id="hiddenInput" value="" />
</form>
function changeHiddenInput (objDropDown)
{
var objHidden = document.getElementById("hiddenInput");
objHidden.value = objDropDown.value;
}
Code Example |
---|
Html :: icon for instagram in bootstrap |
Html :: collapse bootstrap |
Html :: how do you make a link to the top of a page |
Html :: html <strong |
Html :: html input attributes |
Html :: input type email |
Html :: auto click script |
Html :: html radio input |
Html :: cellpadding in html |
Html :: html syntax |
Html :: cards froup |
Html :: highlight a text in html |
Html :: html iframes |
Html :: horizontal line in table |
Html :: vue bind |
Html :: ondrag event in html |
Html :: confirmed button bootstrap |
Html :: html acesskey |
Html :: <!DOCTYPE html eslint error |
Html :: thymeleaf for each limit size |
Html :: How to make the scratch card by using HTML |
Html :: clearing dist in parcel |
Html :: asp classic server show errors |
Html :: bootstrap color a div |
Html :: jquery get innerhtml of span |
Html :: nav-pills class bootstrap |
Html :: floating modal bootstrap |
Html :: select colopr bootstrap |
Html :: query dns |
Html :: angularjs call js function |