I'm convinced i never had this problem < 1.4 jquery, but i've tried 1.4, 1.4.1 and 1.5 too.
I have an area of my page that i load new html content in. i have an input field that has an autocomplete bound to it.
I'm aware that if i load html content then the event bindings do not work as the elements being loaded have not been bound, they need to be rebound to the elements. I'm aware of 'live' as well but in this case i'm using an instance of autocomplete which internally binds to the keyup events.
So in the html loaded I include some javascript that rebinds the DOM element, so at the bottom of the new html i have a script block that can do something like
$(''#myinput').autocomplete......
I know the script is being executed because i can add alert('hello world') and that works fine
If I alert the contents of the DOM element i can confirm that it is there
But i cannot bind anything to the element, not a click nor an autocomplete.
So when i do a load() into a container, what happens to the DOM? I'm convinced this used to work okay...
help!