title: Getting .load Function to work within loaded content
body: <p>My page utilises an AJAX .load function to load divs from a separate .html file into a target div on my page.</p>
  
  <p>Here is my AJAX code:</p>
  
  <pre><code>$(document).ready(function(){
  $("#about2").click(function() {
   $("#content").load("content.html #about", function() {
   $.getScript("slides.js", function() {
   $(window).scrollTop(0);
   });
   });
  });
  
  $("#process2").click(function(){ 
      $("#content").load("content.html #process", function() {
      $(window).scrollTop(0);
      });
  });
  
  $("#materials2").click(function(){ 
      $("#content").load("content.html #materials", function() {
      $(window).scrollTop(0);
      });
  });
  
  $("#pricing2").click(function(){
      $("#content").load("content.html #pricing", function() {
      $.getScript("tabbedcontent.js", function() {
   $(window).scrollTop(0);
   });
   });
  });
  
  $("#radio2").click(function(){
      $("#content2").load("content.html #radiofriendly", function() {
      $(window).scrollTop(0);
      });
  });
  });
  </code></pre>
  
  <p>Basically, within my content.html page (the file where my AJAX grabs the content from) there are .load links WITHIN that content, so basically, my AJAX grabs the content from my content.html, then places it with in the content div in the target page (print.html for example), however i want certain links within the grabbed content, to ALSO activate the load function targeting the div that the content is currently loaded into.</p>
  
  <p>Site is:</p>
  
  <p><a href="http://crookedcartoon.co.uk/print.html" rel="nofollow">http://crookedcartoon.co.uk/print.html</a></p>
  
  <p>And my anchor code WITHIN my content (from my content.html page) that is being loaded into my content div externally that i want to change what is currently in the div is:</p>
  
  <pre><code>&lt;a class="content-links" id="materials2" href="#materials"&gt;Materials&lt;/a&gt;
  </code></pre>
  
  <p>Sorry this is so convoluted, but i can try and explain better if people don't grasp what i'm trying to do.</p>
  
  <p>Thanks for help in advance.</p>