iframe and save content
<p>Hi i have working script saving content from editor works in iframe to input hidden, and geting data from post array. But if i want send in framework, not working. </p>

<p>I tried to insert a hidden field with formlarza model, using the concatenating and outside the function. unfortunately does not work, but if you send out PHP framework, it works.</p>

<pre><code>window.onload = function()
{                      
    document.forms[0].onsubmit = function(){ 

    var text = document.getElementById('text'); text.value = Editor.body.innerHTML; } 
}


&lt;iframe id="textbox"  name="textbox"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;input type="hidden" id="text" name="text" /&gt; 
</code></pre>

<p>Editor is defined in window.onload function, is fine but dont work when i use index.php and router. i sending form to adress admin.php?module=news&amp;action=add</p>

<p>Script site: <a href="http://cstruter.com/blog/45" rel="nofollow">http://cstruter.com/blog/45</a></p>
