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
Solved

without submit button

Posted on 1998-09-14
9
213 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.

828 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