title: Click not working after ajax content has loaded
body: <p>How can I make live('click',function()" work after an ajax call and returning content with html(data)?
  After 4 hrs of searching I think I'd better ask because I am getting nowhere.</p>
  
  <p>This part is working:</p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: "loadAlbum.php",
      data: dataString,
      success: function(data){
          $(".loader").html(data, {}, function(){ 
          //content is loaded now
          //need to get the function below working in this part of the content
          }); 
      },
      error : function(data) { } 
      });
  });
  </code></pre>
  
  <p>And I need this one to work in the ajax above:</p>
  
  <pre><code>$('.divName as inside loader').live('click',function(){  
  
  alert('gotClicked');
  
      var vidItem = $(this).attr('data');
      vidItem = vidItem.split('-'); var bookID = vidItem[0]; var state = vidItem[1];
      var dataString = 'bookID='+ bookID + '&amp;state=' + state;
  
  alert(dataString); 
  
  });
  </code></pre>