Problem with jquery load()

Problem with jquery load()

Hello everyone,
I'm using this script
 
  1. <script type="text/javascript">
  2.             function loadContent(elementSelector, sourceUrl)
  3.             {
  4.                 $(""+elementSelector+"").load(sourceUrl);
  5.             }
  6.         </script>



load the page inside the div
  1. <a href="javascript:loadContent('#content','prova1.html');">Sito</a>
the script works perfectly, I just do not charge the various scripts of the page (site.php).


How can I solve my problem?
Thanks so much.

PS


Sorry for my English