title: how to get selected cell value in Iframe in mxGraph?
body: <p>How can we get selected cell value in frame? I called iframe by clicking link. and in Iframe I want to get Attribute values of selected cell.</p>
  
  <pre><code> &lt;script&gt;
          function main(container) {
              if (!mxClient.isBrowserSupported()) {
                  mxUtils.error('Browser is not supported!', 200, false);
              }
              else {
                  var graph = new mxGraph(container);
                  var cell = graph.getSelectionCell();
              }
    &lt;/script&gt;
  
  &lt;body onload="main(window.parent.document.getElementById('graphContainer'))"&gt;
      &lt;form id="form1" runat="server"&gt;
  
      &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>