[jQuery] injecting HTML with load() how to bind events?

2007-09-27 Thread kamiseq
im loading some HTML with ajax, and as in jQ every events are bound, to HTML elements, just after page is loaded, how can I force jQ code to bind event handlers to new HTML. I could trigger some js function with jQ after loading has finished but maybe there is a better way to do so.

[jQuery] injecting HTML with load() how to bind events?

2007-09-27 Thread kamiseq
im loading some HTML with ajax, and as in jQ every events are bound, to HTML elements, just after page is loaded, how can I force jQ code to bind event handlers to new HTML. I could trigger some js function with jQ after loading has finished but maybe there is a better way to do so.