Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > order of iframe loading with document loading

Thread Tools

order of iframe loading with document loading

Posts: n/a
I have a page with iframe that i can only reach to it's attached .js
i'm trying to change the src of the iframe but the only this i found
function startup()
var iframes = document.getElementsByTagName("IFRAME");
iframes(0).src = "";

it worked but only after it allready loads the content of the iframe
so it first loads the original src and then my new one.
can I attach to an event that run before the original src loads into
the iframe?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading a simple XHTML transitional document into aorg.w3c.dom.Document Ion Freeman Java 17 07-11-2009 10:17 PM
Targeting a parent iframe from a sub-iframe HTML 0 11-15-2006 04:40 PM
wait for one IFRAME to load before loading a second IFRAME Mel Javascript 1 06-08-2005 02:31 PM
Get form values from iframe (1) to iframe (2) inside a layer in iframe (1) Daedalous Javascript 3 01-16-2004 11:08 AM
After the execution of frame.iframe.document.designMode="On" , I lost the access to iframe, it says permission denied Javascript 0 07-17-2003 05:05 AM