Automatic Submit on an ASP page

  • Thread starter Thread starter Dave Willetts
  • Start date Start date
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
 
<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.
 
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.
==============================================
 
Back
Top