My question is: "is it possible to attach a autocomplete event on a generated textbox " ?
EDIT : and ofcourse how would such a thing be possible ?
1 reply to this topic
#1
Posted 30 May 2011 - 07:45 AM
|
|
|
#2
Posted 01 June 2011 - 11:54 AM
I assume your question is more related to attaching events to the DOM that does not yet exist, rather than the autocomplete itself. As autocomplete shouldn't cause too much trouble (Plugins/Autocomplete - jQuery JavaScript Library)
As for the event binding your inputbox, you should be able to use the live() function.
Live() takes care of attaching events to stuff that does not yet exist.
This is for click, but I suppose this works for autocomplete as well:
As for the event binding your inputbox, you should be able to use the live() function.
Live() takes care of attaching events to stuff that does not yet exist.
This is for click, but I suppose this works for autocomplete as well:
$(".autoInput").live('click', function(event) { ...}
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









