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:

  1. $('#index').load('link.html  #content', function() {
  2.       $('#index').animate({'opacity':1},site_transition_speed);
  3.       show_loader("hide");
  4. });
Now I want to select a dynamically loaded link.

  1. $('a').click(function(event){
  2. event.preventDefault();  
  3. alert('highfive');
  4. });
But this doesn't work. I think I have to bind it somehow but I really don't know how. Please help me!