Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-16-2005, 06:00 PM   PM User | #1
whited
New to the CF scene

 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
whited is an unknown quantity at this point
How to get info about the iframe data loading?

Hi.

I need the event that will occure when iframes starts to load new data. I've tryed "onload". But it starts when the iframe is loaded completely. And it don't work in IE at all.

Somebody knows about the event that will happen before iframe will start to load? Or any other method to trace the loading/reloading process.

Any suggestions will be appreciated.

Best regards. Eugene.
whited is offline   Reply With Quote
Old 03-16-2005, 06:56 PM   PM User | #2
codegoboom
Regular Coder

 
Join Date: Aug 2004
Location: codegoboom@yahoo.com
Posts: 999
Thanks: 0
Thanked 0 Times in 0 Posts
codegoboom is an unknown quantity at this point
Internet Explorer

Onload should apply, but um... there's the onreadystatechange Event & readyState Property too.
__________________
*this message will self destruct in n-seconds*

Last edited by codegoboom; 03-16-2005 at 07:01 PM.. Reason: linkage
codegoboom is offline   Reply With Quote
Old 03-17-2005, 12:24 PM   PM User | #3
whited
New to the CF scene

 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
whited is an unknown quantity at this point
Thanks.

The onreadystatechange event works good. But only in IE... This event dont occure in Firefox browser.

Is there any alternative event fot the Netsape/Mozilla browsers?
whited is offline   Reply With Quote
Old 03-17-2005, 12:41 PM   PM User | #4
codegoboom
Regular Coder

 
Join Date: Aug 2004
Location: codegoboom@yahoo.com
Posts: 999
Thanks: 0
Thanked 0 Times in 0 Posts
codegoboom is an unknown quantity at this point
You can find out @ mozilla.org...
__________________
*this message will self destruct in n-seconds*
codegoboom is offline   Reply With Quote
Old 03-17-2005, 12:57 PM   PM User | #5
whited
New to the CF scene

 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
whited is an unknown quantity at this point
I've solved this problem. I've combined the onload and onreadystatechange events. Now it works ok. Thank you for your help.
whited is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 10:10 PM.


Advertisement
Log in to turn off these ads.