Solved

without submit button

Posted on 1998-09-14
9
214 Views
Last Modified: 2013-12-25
in my asp i don't have a submit button instead i have hyperlinks,can i post values form one asp to the other.
0
Comment
Question by:rvsamuel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 4

Expert Comment

by:rafistern
ID: 1855002
You can do this by Javascript like this

<form name=theForm action="whatever.asp">
.
<a href="javascript:theForm.submit()">Submit</a>
</form>
0
 

Author Comment

by:rvsamuel
ID: 1855003
I have to use only VBScript and not JScript
0
 
LVL 4

Expert Comment

by:rafistern
ID: 1855004
Every browser that supports VBScript supports JavaScript. However VBScript is only supported by IE.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 4

Expert Comment

by:rafistern
ID: 1855005
Every browser that supports VBScript supports JavaScript. However VBScript is only supported by IE.
0
 

Author Comment

by:rvsamuel
ID: 1855006
yes my constraint is that i should use only VBScript

0
 

Author Comment

by:rvsamuel
ID: 1855007
i used <a href="vbscript:theForm.submit()">Submit</a> ,
its not working.

0
 
LVL 4

Expert Comment

by:rafistern
ID: 1855008
Sorry i don't know anything about VBScript.
0
 
LVL 1

Expert Comment

by:acsmith
ID: 1855009
do you have to actually submit the form? how about appending the info to the url: <a href="nextasp.asp?variable=value">Submit</a>
Hope this helps. If not, how about a bit more detail...
0
 
LVL 1

Accepted Solution

by:
Patricia080698 earned 10 total points
ID: 1855010
rafistern : If you want to call your asp file through a <form...> tag then you must use the <input type=submit ....>.

On the other hand, if you do not want to use a submit button, then you can do it with just a simple link like this :
<a href="whatever.asp">submit</a>. This will work.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question