SebBr
0
Q:

select Onchange js

document.getElementById("myInputID").addEventListener("change", function(){
	//This input has changed
   console.log('This Value is', this.value);
});
7
<select id="comboA" onchange="getComboA(this)">
  <option value="">Select combo</option>
  <option value="Value1">Text1</option>
  <option value="Value2">Text2</option>
  <option value="Value3">Text3</option>
</select>
1
<!-- 
	You can use any of the following:
	onkeydown, onkeyup or onchange
 -->

<input type="text" onkeydown="keydownFunction()" 
onkeyup="keyupFunction()" onchange="changeFunction()">
2
<input type="text" id="username" onchange="usernameChanged">
0
function updateInput(ish){
    document.getElementById("fieldname").value = ish;
}
0

 <select onchange="myFunction()"> 
0

New to Communities?

Join the community