[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

without submit button

Posted on 1998-09-14
9
Medium Priority
?
221 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 20 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses
Course of the Month19 days, 22 hours left to enroll

872 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