I have a selectbox which onchange() that should write content into the iframe.
it worked with various wysiwyg editors like tiny_mce. but the iframe is missing a name attribute.
How should i structure the path to the content of it? tried several ways, nothing worked so far.
this is the old function right now
function swapPlugins(){ var pluginName=''; for (i = 0; i < document.inputform.showPlugins.length; ++i){ if (document.inputform.showPlugins.options[i].selected == true){ pluginName=document.inputform.showPlugins.options[i].value; if(document.inputform.showPlugins.options[0].selected == true){}else{ var text='§§§'+pluginName+',600§§§'; document.getElementById('cke_contents_Content').-----.contentDocument.body.innerHTML+=text; } } } }//eof
Re: SOLVED::Newbie: accessing the Iframe content non jquery
I finally found the correct API, i just searched with the wrong words...