我有表单和输入时我想要存储在div中的每个输入值。
我为这样的输入框做了
<input type="text" class="form-control" onkeyUp="document.getElementById('ref7').innerHTML = this.value" name="bank_name" id="bank_name" id="bank_name">
但是如何将其下拉到选定值的下拉框?
这是我的选择框
<select class="select form-control" id="payment" required name="payment" onkeyUp="document.getElementById('ref14').innerHTML = this.value">
<option value="" disabled="disabled" selected="selected">Please select</option>
<option value="As per signed contract accpetable">
As per signed contract acceptable
</option>
<option value="As per contract not accpetable">
As per contract not acceptable (please specifiy the fee below)
</option>
</select>
<div id="ref14"></div>