here's a couple of options:

add a class to your FAQ only used for the click function, remove the class inside the load success function.
change $("FAQ).click......    to $(".newClickClass").click......

after appending content : removeClass("newClickClass")

or simpler
hide or remove #FAQ if page won't be compromised


mojoeJohn wrote:
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?

  

Reply via email to