Solved

without submit button

Posted on 1998-09-14
9
208 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
Comment Utility
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
Comment Utility
I have to use only VBScript and not JScript
0
 
LVL 4

Expert Comment

by:rafistern
Comment Utility
Every browser that supports VBScript supports JavaScript. However VBScript is only supported by IE.
0
 
LVL 4

Expert Comment

by:rafistern
Comment Utility
Every browser that supports VBScript supports JavaScript. However VBScript is only supported by IE.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:rvsamuel
Comment Utility
yes my constraint is that i should use only VBScript

0
 

Author Comment

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

0
 
LVL 4

Expert Comment

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

Expert Comment

by:acsmith
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now