Need help to detect change in an hidden input

Need help to detect change in an hidden input

Hello everyone, this is my first post on the forum, i've been using a couple of libraries before but for this project i've decided to switch to jQuery after having read an interesting article on a blog.

I'm using the autocomplete plugin, in order to fetch street names in a php file, when the street is selected a value is sent to a hidden input (so if nothing is selected, or no valid street name entered the input doesnt change). I would like to use this input (when the value changes) in order to trigger events on a loaded google map. Basically i would like to lauch a function everytime a new value is sent to the hidden input, unfortunately i havent found the way to do that.

i've tried with $('#myInputID').change(); with no success, i've also tried on the actual autocomplete input itself before but the event was triggered before the autocomplete fills the input.

I hope there is a simple way to do that, thanks for your help.

Cseu.
    • Topic Participants

    • cseu