Skip to content

Conversation

@cavellblood
Copy link

I'm trying to use this to autocomplete an address form when a person is filling out their address. I got it to work in geocode_lookup() but not in autocomplete_init(). So basically if you select one of the options from the drop down with your mouse it uses autocomplete_init(). I can't figure out how to pass the correct parameters to update_ui() inside of autocomplete_init() but I've managed to do it in geocode_lookup().

I'm not to familiar with navigating my way through jQuery so it's probably something fairly simple that I'm missing.

I'm trying to use this to autocomplete an address form when a person is filling out their address. I got it to work in <code>geocode_lookup()</code> but not in <code>autocomplete_init()</code>. So basically if you select one of the options from the drop down with your mouse it uses <code>autocomplete_init()</code>. I can't figure out how to pass the correct parameters to <code>update_ui()</code> inside of <code>autocomplete_init()</code> but I've managed to do it in <code>geocode_lookup()</code>.

I'm not to familiar with navigating my way through jQuery so it's probably something fairly simple that I'm missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant