Problem on handling two iframes' onload event

Giganews Newsgroups
Subject: Problem on handling two iframes' onload event
Posted by:  Koms Bomb (KomsBombREMOVETH…@hotmail.com)
Date: Thu, 17 Jul 2003

I create two iframes dynamically to get data from the server.
I want to deal with the data after it's downloaded, so I set the two
iframes' onload event handlers to current document(not the iframe self), the
handlers' JS code is generated dynamically too.
But I found only the second event is triggered and I can't get the first
iframe's onload event.
Why? The data in the first iframe is really arrived, but it doesn't trigger
the onload event.
Is there any other better way to conceal download data from server, not
refresh current document?

--
Koms Bomb

*****Pardon my poor English*****
---------------------
Don't worry,be happy.

Replies