title: How to close jQuery dialog when button inside iFrame is clicked?
body: <p>i have a jQuery dialog an iFrame is added to dialog when it is opened.
  how to <strong><em>close</em></strong> this dialog wen a button(button present in HTML of iFrame) is clicked.</p>
  
  <p>I tried to get contents inside iFrame using <code>contents()</code> but what i was getting is <code>[object object]</code></p>
  
  <p>Many people have already mentioned that we cant access content of cross domain , here no other domain involved at all.</p>