Return to Snippet

Revision: 4786
at January 20, 2008 23:45 by kristin


Initial Code
$().ready(function() { 
	
	/* use livequery to bind events to stuff that wont see the dom */
	
	$("#modal").livequery(function() {

		/* do your business here */
		
	});
			
});

Initial URL

                                

Initial Description
#modal would be the bodyID of your modal window.  I use jqmodal so it strips out all the header tags, and takes your body ID and turns it into a div.

Initial Title
bind jquery events to ajax'd content with livequery

Initial Tags
ajax, jquery

Initial Language
JavaScript