title: can not get html inside iframe , and can not fire events of elements inside iframe
body: <p>i am using Facebook graph API to invite Facebook friends to my codeigniter application , i want to fire a click event inside an element of iframe , but it is not firing , my code is </p>
  
  <pre><code>        $("iframe").contents().find('input[name="login"]').live('mouseover',function(){
                            alert("log in");
           });
  </code></pre>
  
  <p>alert is not shown , no errors in firebug . </p>
  
  <p>but if i do this </p>
  
  <pre><code>    $("iframe").live('mouseover',function(){
                        alert("log in");
       });
  </code></pre>
  
  <p>this works and give the alert . </p>
  
  <p>but if i try to get html inside iframe</p>
  
  <pre><code>$("iframe").live('mouseover',function() {          
     alert($('.fb_ltr').contents().find('.request').html());                      
  });
  
  
  it gives an error in firebug 
  
  
  Permission denied to access property 'ownerDocument'
  [Break On This Error] shift(),i.sort());if(!!e&amp;&amp;!f.event.cus...is).get();f(e[h])[b](j),d=d.concat(j
  </code></pre>
  
  <p>how to use elements inside iframe , i saw similar questions , but could not get a help . please help , thanks ..............................</p>