javascript - Change displayed text returned by google Autocomplete API -


currently i'm using google autocomplete enable users search cities. when typing ber shows following:

screen while typing

which fine.

when selecting element, e.g. first one, textbox-value switches berlin, deutschland can seen here:

screen while selecting

when hitting enter or clicking element, text stay same:

screen after selection

what want show city's name berlin in textbox without nation @ end. there specific event should bind crop nation before set in textbox?

the 'place_changed' event 1 should listening for


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -