Implement .GetScript function into current AJAX script.

Implement .GetScript function into current AJAX script.

My page uses an AJAX script that dynamically loads content into my content DIV from a separate HTML page "content.html".

The problem i am facing again and again however is that if the content contains any form of script, for instance my slideshow JQuery Plugin or my dynamic tabs plugin it simply won't work.

My site is: http://www.crookedcartoon.co.uk/print.html

I'm currently looking into the .GetScript function and am wondering how to implement it into my current AJAX code

For example, my AJAX code is:

 
  1. $(document).ready(function(){
  2. $("#about2").click(function(){
  3. $("#content").load("content.html #about");
  4. });

  5. $("#process2").click(function(){
  6. $("#content").load("content.html #process");
  7. });

  8. });

Any suggestions at all?

Thanks for the help in advance.

-Alex