title: add content to iframe
body: <p>i am displaying a page inside a iframe.Following is the markup:</p>
  
  <pre><code>&lt;iframe src="/home/index" width="700px" height="300px"/&gt;
  </code></pre>
  
  <p>Now , using jquery i am trying to add content of another page to this iframe:</p>
  
  <pre><code> $('iframe').bind('load',function()
  {
  
  $('iframe).contents().find('body').load('/user/profile');
  });
  </code></pre>
  
  <p>Page (user/profile) content is getting rendered except javascript files i.e the head section of 'user/profile' page contains reference to javascript files like jquery.js,profile.js etc.I checked iframe's content in firebug.There is no reference to these js files.
  Please help.</p>