[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1672
  • Last Modified:

auto submit an ASP page form

Is there a way to have a <form> on an ASP page.

as soon as the form is finished loading I want it to redirect to another ASP page.
0
Tom Knowlton
Asked:
Tom Knowlton
2 Solutions
 
dfiala13Commented:
What are you trying to do?
0
 
khurram007Commented:
Yeah... Please explain you question... it is not clear... Atleast tell what are u trying to do so we could help u in a much better manner.

Khurram
0
 
jmcraigCommented:


Put this in the top of you page

<META HTTP-EQUIV="refresh" CONTENT="2; URL=/Index.asp">

where the  

URL= /index.asp  

is the page you wish to direct to

Content = "2

is how many seconds to wait before redirect

Joshua
0
 
ramesh12Commented:
If you are asking for a redirction you can do that using

response.redirect "Your Url"

after the form loads

but if you want to submit the asp page use javascript after the </form> tag like this

<script language="javascript">
//document.formname.method="method of submission" // (POST/GET)
document.formname.action="your url";
document.formname.submit();
</script>


 
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now