> Also, does all of the code used to manipulate pages and execute Ajax
> calls get placed within this method? How are others organizing/breaking
> out their code?
On pages that update the DOM via AJAX, I place my jQuery statements in a
"register" or "init" function that can be called on page load (i.e. with
$(document).ready()), and every time the DOM is updated. The only catch
is that you need to unbind existing events before rebinding them so they
don't stack up, like so:
$(element).un[event]().[event]( function() { ... } );
m.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/