title: Preventing script execution on ajax load pages with jQuery
body: <p>I'm trying to load a page using the load() function, the problem is that javascript code on that page is being executed when loading. I use this:</p>
  
  <pre><code>$('#itemid').load('thepage.php #selector', function() {
       MY CODE HERE
  });
  </code></pre>
  
  <p>how can i prevent the javascript code from being executed and load only the HTML part that i want?</p>