jQuery ajax: Request a page that contains JS
<p>I need to apply AJAX loader that loads some different contents form the page, to a existing CMS.
The problem is that some of those contents, contain included JS Files or inHTML JS.</p>

<pre><code>$.ajax({
type: "GET",
url: refURL,
success: function(resultData){
//returns the content in $content
   showContents($(resultData), title);
},
error: function(){
  showContents("something went wrong", "ERROR 404");
}
});
</code></pre>

<p>showContents() uses .HTML() to place the content into $(resultData) after some fancy animation. This works fine as long as there is no JS in the requested pages..</p>

<p>Is there any way i could make this work?</p>
