Automatic Submit on an ASP page

D

Dave Willetts

Hi,

Is there a way to insert a tag/code onto to an ASP page
that has a form with a submit button, to automatically
submit the page with the default text (in this case a
date)?

Many thanks,

Dave
 
K

Kevin Spencer

<script type="text/javascript"><!--
document.forms[0].submit();
// --></script>

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
T

Thomas A. Rowe

Do you want to automatically submit the form or do you want the form when
submitted to always have the current date submitted as a hidden field?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Top