try that again without the hyphens :)...........
I did this a while and had the following in pseudo code which is a bit
diff from the other suggestions:
(frameset)
var hasLoadedFrameA = false;
var hasLoadedFrameB = false;
function isReady() {
if (hasLoadedFrameA ++ hasLoadedFrameB {
return true;
} else {
return false;
}
}
function isLoadedFrameA() {
hasLoadedFrameA = true;
}
function isLoadedFrameA() {
hasLoadedFrameB = true;
}
(frame A)
<body onload="top.isLoadedFrameA()">
(frameB)
<body onload="top.isLoadedFrameB()">
Then just do all checking on top.isReady() for your onSubmit for the
form
Was a while ago.... and it does all seem a little verbose compared to
the others now...
--
dc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only good for
you, it's good for everybody.
http://www.houseoffusion.com/banners/view.cfm?bannerid=39
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182186
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54