I have already read Why onchange doesn't work? and now I know that,
The onchange event only fires if the user changes the value of the input. It isn't supposed to fire if the input is changed programmatically.
But I have an input field which is automatically filled when user change a location by Google map widget inside a website. When it happens, I want to get that automatically filled value and fill another input filed. How can I detect or fire function when input is changed programmatically?
from Solution for on change doesn't work when input is changed programmatically
No comments:
Post a Comment