bind a load function??
bind a load function??
I try to load some content with help of the .load() function. this works like a charm. See my code here:
$('#index').load('link.html #content', function() {
$('#index').animate({'opacity':1},site_transition_speed);
show_loader("hide");
});
Now I want to select a dynamically loaded link.
$('a').click(function(event){
event.preventDefault();
alert('highfive');
});
But this doesn't work. I think I have to bind it somehow but I really don't know how. Please help me!
Topic Participants
kontaktplanb
kbwood.au