title: How to pass argument from iframe to parent?
body: <p>I have a situation where iframe triggers click event for parent window and passes argument to the parent. I have tried below code but the argument is undefined. Don't know what am I doing wrong.</p>
  
  <p>Code in iframe</p>
  
  <pre><code>jQuery("#add",window.parent.document).trigger('click',"3"); 
  </code></pre>
  
  <p>Code in parent window-</p>
  
  <pre><code>jQuery("#add").live('click',function(e,cid){                    
      //cid is undefined
  });
  </code></pre>
  
  <p>Please help.
  Thanks.</p>