addeventlistener js select item
selectId.addEventListener("change", function() {
});
addeventlistener js select item
selectId.addEventListener("change", function() {
});
where is select value in javascript event object
let handleSelect = (e) => { // e === this
console.log(event.target.value) // event !== this
}
on change event html not working
onchange is only triggered when the control is blurred. Try onkeypress instead.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us