Thank you Philip!
Cheers,
Mike.
-----Original Message-----
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 12, 2000 3:44 AM
To: [EMAIL PROTECTED]
Subject: RE: CFERROR - MailTo
> For those of us who might not know how to create a self-submitting form
> using JS could you point us in the right direction?
2 methods I can think of...
in the onLoad part of the body
onLoad="document.myForm.submit()"
Or at the bottom of the page
<script language=JavaScript>
<!--
document.myForm.submit();
//-->
</script>
If you want it to submit after a certain time, then put a setTimeout in the
<head> of the page to call a function which submits the page...
<script language=JavaScript>
<!--
setTimeout("submitMe()",5000); // 1000 per second, thus this fires after 5
seconds
function submitMe() {document.myForm.submit();}
//-->
</script>
HTH
Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.