Click here to Skip to main content
15,881,638 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
Hello All,
I have a page from where we can add multiple controls like text boxes with the help of jquery.
On the text box keyprees or keydown or anyother event I have to call google autocomplete and fill the other text boxes like city,state and country.

But when I am calling the autocomplete function on keypress event it doesn't fill the other boxes and when I press a key it always enter a new character and not holding off the other characters which are previously typed.

But if I call the autocomplete functionality on ready state it does all the things and working fine.But my situation is that I cant write the code on ready state as on ready state we have to define the textbox id,but here in my page i can generate a new textbox with jquery.Even enter event is also not working on this if keypress event is defined

So how it will be possible to do that and automatic fill the other controls.
Posted
Updated 14-Jan-13 14:30pm
v2
Comments
Marco Bertschi 15-Jan-13 6:26am    
Can you post the parts of the source code you are describing? We ain't no mentalists here.

cheers,
Marco Alessandro Bertschi

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900