Re: Dynamic IFRAME problem
- From: shlomi.schwartz@xxxxxxxxx
- Date: 20 Feb 2006 08:58:52 -0800
hi Thomas, thanks for the fast reply.
All your remarks were contributing.
unfortunately the problem is more complex.
the main issue is that:
when writing the IFRAME dynamically (use example 1) the first "src" is
somehow cached in the browser DOM.
allow me to explain a scenario:
1) Lets say the page loads and the variable rnd is set to 1
2) The documet.write() is called with Google src IFRAME
3) All is good the Google frame is shown
4) F5 ... refreshing
6) the page loads and the variable rnd is set to 9
7) The documet.write() is called with Yahoo src IFRAME
8) ERROR the Google frame is displayed
furthermore if we write "javascript:alert(document.body.innerHTML)" in
the address bar we can see that the IFRAME src is set correctly and
still the browser displays the wrong frame.
Any New idea?
;-)
.
- Follow-Ups:
- Re: Dynamic IFRAME problem
- From: Giggle Girl
- Re: Dynamic IFRAME problem
- From: Thomas 'PointedEars' Lahn
- Re: Dynamic IFRAME problem
- References:
- Dynamic IFRAME problem
- From: shlomi . schwartz
- Re: Dynamic IFRAME problem
- From: Thomas 'PointedEars' Lahn
- Dynamic IFRAME problem
- Prev by Date: Re: AJAX problem with firefox (no readyState == 3 ????)
- Next by Date: get value of TD
- Previous by thread: Re: Dynamic IFRAME problem
- Next by thread: Re: Dynamic IFRAME problem
- Index(es):
Relevant Pages
|
Loading