I can't seem to get this snippet I loaded with .load to go away once loaded. Any ideas?
Here's the function $('a.drawer').click(function() { $('#drawer').show(); $('#drawer').load('drawer.html').find('a#close').click(function(){ $('#drawer').hide(); }); }); Drawer.html has an anchor with an ID of "close". Its nested in a div called #outter. <div id="outter"><a id="close"><img src="images/close.gif" width="55" height="17" border="0" /></a></div>