Hi!
I am new on this forum and I have a question. I am developping a pretty advanced SEO forum system. Wich uses AJAX, JSON and creation of elements etc.
But I am now experiencing the folowing Firefox bug:
When moving a FORM or DIV element in wich an IFRAME is hold. You can’t access the IFRAME anymore in Firefox after you moved it for the second time (after the first move you can still access it!). With accessing I mean, to start a function on the page in the iframe.
This is the code wich offers access after the first move, all others I tried did not offer access at all after the first move. And I really tried a lot!
[code]
var window[“container”] = document.getElementById(‘container’);
var forms_found = container.getElementsByTagName(“form”);
var window[“form_element”] = forms_cound[0];
// repeated code (per move = click on reply link)
var new_container = document.getElementById(‘new_container’);
new_container.appendChild( window[“form_element”] );
Repeating this code works 100% in Internet Explorer and also for 1 time in firefox. But after the second move the IFRAME element is not known to Firefox anymore. You then get the error the element is not found (Javascript console of Firefox).
I’ve spend more then 12 hours already to reproduce this, I’ve tried do remove and rebuild the form element via createElement(“form”) etc., I’ve also tried to delete and rebuild the IFRAME itself. But when doing so the IFRAME is not accessable after any move. It therefor seems it is not possible to access a javascript function on the page in an IFRAME created via javascript at all!
This is the address where can be tested: [url]http://testforum.obeyon.com/
I hope someone knows a solution!
Best Regards,
Adult SEO