Live on created div
I'm trying to trigger an event on a dynamically created div using the .live() function of Jquery.
The problem probably is that the Javascript code is loaded (and run) long before the div is created.
The div is only created AFTER a user action which triggers an AJAX call. The return from the PHP script contains the div on which the .live() should react.
How should I do this?
The ultimate goal is to make this div editable using jeditable.
Don't take life to serious, you won't survive it anyway...
Bookmarks