Submit a form automatically .. ?

Results 1 to 2 of 2

Thread: Submit a form automatically .. ?

  1. #1
    Join Date
    Dec 1969

    Default Submit a form automatically .. ?

    &nbsp;<BR>Is it possible to submit a form on an ASP page without the user clicking on submit, although at the same time having the option to do so.<BR><BR>It would be especially useful to add a slight delay (maybe 5 or 10 seconds) so that the user could still click submit if they wanted to speed it up.<BR><BR>Any ideas?

  2. #2
    Join Date
    Dec 1969

    Default JavaScript

    Look into using JavaScript and the form.submit() method.<BR><BR>You could place it inside a setTimeout() function to allow the delay you want. When the form is submitted, simply clear that timeout.<BR><BR>This isn&#039;t an ASP question, however.<BR><BR>Check or<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts