Solved

without submit button

Posted on 1998-09-14
9
210 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
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

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 …
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
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…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

770 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