javascript - Change displayed text returned by google Autocomplete API -
currently i'm using google autocomplete enable users search cities. when typing ber
shows following:
which fine.
when selecting element, e.g. first one, textbox-value switches berlin, deutschland
can seen here:
when hitting enter or clicking element, text stay same:
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
Post a Comment