title: Is it possible to use JavaScript in a Facebook fan page iframe tab?
body: <p>I have an application at <a href="http://www.facebook.com/LovingPets?fbhref=index.php&amp;app_page=1&amp;v=app_190518734309657&amp;sk=app_190518734309657#!/LovingPets?fbhref=treats.php&amp;app_page=1&amp;v=app_190518734309657&amp;sk=app_190518734309657" rel="nofollow">http://www.facebook.com/LovingPets?fbhref=index.php&amp;app_page=1&amp;v=app_190518734309657&amp;sk=app_190518734309657#!/LovingPets?fbhref=treats.php&amp;app_page=1&amp;v=app_190518734309657&amp;sk=app_190518734309657</a>. </p>
  
  <p>I keep getting problems with trying to run JavaScript. I thought that one of the benefits of Facebook adding the iframe to the page tabs is so that you could run JavaScript? When you try to click on the treat catalog link it loads the next page fine, but none of the interactivity works. Looking at Firebug these errors are observed,</p>
  
  <blockquote>
    <p>script is not an allowed DOM element [Break On This Error] (11 out of range 3)" </p>
  </blockquote>
  
  <p>and </p>
  
  <blockquote>
    <p>a190518734309657_l is null [Break On This Error] &lt;script type="text/javascript"></p>
  </blockquote>
  
  <p>Is it possible to run JavaScript and jQuery the way I have my application setup? And if it is, what am I doing wrong?</p>