Menu
Onblur and Onchange both have to lose focus in order to execute. I want to populate an input text value via JavaScript. Once the new value is loaded, I would like a script to run. Onchange doesn’t work.
Example,
html
<input id=’elmID’ type=’text’ value=” onchange=’script();’ />
javascript
document.getElementById(“elmID”).value = ‘some new text’;
Once my script has populated the input value, I would like a different script to execute.
Any ideas? Thanks in advance.