views:

46

answers:

0

Hi all, how to determine the event of a textbox when the item is selected from the autocomplete list in javascript? my requirement is, i have a textbox and a button. initially button will the disabled. onkeyup event i am enabling the button. this works pretty cool.. but here is the tricky part... when the user is selecting some item from the autocomplete(default property) the button doesn't get enabled. what should i do? i have cool idea like set the property autocomplete=OFF, but this is not a workaround. can anybody suggest me to handle this situation???