Personally I wouldn't use the js at the beginning of frame b. Have the button
disabled by default then use the onload method to enable the button. Something along
the line of:
(frame a)
<input id="submitbutton" name="submitbutton" type="submit" disabled>
(frame b)
<script>
function LoadEnable() {
parent.frames['framea'].submitbutton.enable = true;
}
</script>
<body onload="LoadEnable();">
...
Anyhow, my $.02 worth.
______________________________________________________
Bill Grover
Manager, Information Systems Phone: 301.424.3300 x3324
EU Services, Inc. FAX: 301.424.3696
649 North Horners Lane E-Mail: [EMAIL PROTECTED]
Rockville, MD 20850-1299 WWW: <http://www.euservices.com>
______________________________________________________
> -----Original Message-----
> From: John Stanley [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 21, 2004 8:59 AM
> To: CF-Talk
> Subject: RE: Submit after Page loads
>
>
> in frame b at the beginning of the page using js disable the
> submit button.
> then in the body tag use the onLoad method to enable the
> button, or just put
> another call at the end of the page.
>
> -----Original Message-----
> From: DeMarco, Alex [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 21, 2004 8:53 AM
> To: CF-Talk
> Subject: Submit after Page loads
>
>
> Hello,
>
> We have an CFMX app that is using frames(arrrgh).
>
> Is there any way to prevent a submit button in Frame A from working
> until all of the frame B is loaded?
>
> Thanks!
>
> - Alex
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182183
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