I'm loading content with the .load() method. How do i only allow one click to the link. I don't want future clicks to keep loading the same content.
$(document).ready(function(){ $("#FAQ").click(function(){ $('<div id="faqcontent" />').load("content.htm #faqs" , function(){ $(this).hide() .appendTo("#content") .slideDown(1000); return false }); }); }) I've got all the content loading correctly, but i don't know where to go from here to prevent the content from loading several times. Any ideas?