title: Capture iframe return value in Perl CGI script
body: <p>I think Its a very basic question. I am trying to develop a web page using Perl CGI. I have a text-editor(using iframe) in my form. Code:</p>
  
  <pre><code>&lt;iframe id="textEditor" style="width:500px; height:170px;background-color:white"&gt;
  &lt;/iframe&gt;
  </code></pre>
  
  <p>I am trying to capture the content, which I am writing in text-editor on Submit of the form in my Perl CGI code, using param function. But failing!! Please help me out.</p>
  
  <p>There is the code related to iframe:</p>
  
  <pre><code>&lt;iframe id="textEditor" style="width:500px; height:170px;background-color:white"&gt;
  &lt;/iframe&gt;
  &lt;script type="text/javascript"&gt;
  &lt;!--
  textEditor.document.designMode="on";
  textEditor.document.open();
  textEditor.document.write(\'&lt;head&gt;&lt;style type="text/css"&gt;body{ font-family:arial; font-size:13px; }&lt;/style&gt; &lt;/head&gt;\');
  textEditor.document.close();
  function def()
  {
     document.getElementById("fonts").selectedIndex=0;
     document.getElementById("size").selectedIndex=1;
     document.getElementById("color").selectedIndex=0;
  }
  function fontEdit(x,y)
  {
     textEditor.document.execCommand(x,"",y);
     textEditor.focus();
  }
  --&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>I am trying to capture the value written in text-editor using CGI param() function.</p>