/    Sign up×
Community /Pin to ProfileBookmark

Firefox bug – seems unreproduceable – please help!

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”] );
[/code]

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/[/url]

I hope someone knows a solution!

Best Regards,
Adult SEO

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzSep 08.2006 — Does it work in [url=http://www.opera.com/]Opera 9[/url]?
Copy linkTweet thisAlerts:
@Adult_SEOauthorSep 08.2006 — Hi!

Yes, it works perfect in Opera (9).

You can test it on http://testforum.obeyon.com/ just click a few reply buttons. And after that, post a message. If it works, the message is implemented on the page (no reload!). If not, nothing will happen.

Best Regards,

Adult SEO
Copy linkTweet thisAlerts:
@KravvitzSep 09.2006 — The page seems to be in Dutch.

I suggest you make a minimal test case for this apparent bug.
×

Success!

Help @Adult_SEO spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...