I am trying to show the value of the textboxes in the select. For example, if you type anything in the Chairperson, President or VicePresident textfields the value of those textboxes should be displayed separately as options in the select.
I tried the below but it doesn't work.
$(document).ready(function() {
$("#Chairperson_change").change(function() {
document.getElementById("dropdown_change").value = document.getElementById("Signatories").value;
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Chairperson: <input name="Chairperson" type="text" maxlength="50" id="Chairperson_change" style="width: 665px; padding:0px; z-index: 2; position: absolute;" /><br>
President: <input name="President" type="text" maxlength="50" style="width: 665px; padding:0px; z-index: 2; position: absolute;"
/><br>
VicePresident: <input name="VicePresident" type="text" maxlength="50" style="width: 665px; padding:0px; z-index: 2; position: absolute;" /><br>
<select id="dropdown_change"><br>
<option value="">Options here</option>
</select>