I want to auto fill an input area with javascript. When i fill it with organic key press, this input's event listener trigger another list which is releated what input is. But when i say:
document.getElementById('CardNumber').value = "123"
it does not trigger anything. image
So how can i trigger this "keyup" event listener? Any suggestion is accepted.
$("#"+cardNumber).change();