Solved

get form data to submit to another page using an url

Posted on 2001-06-28
2
724 Views
Last Modified: 2012-06-21
e.g.

<input type='text' name='newPrice'>


then I submit to a form thru an url as below
the above textbox will submit as the abc paramater


<a href="result.html?abc=.....">












0
Comment
Question by:adrianmak
[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
2 Comments
 
LVL 22

Expert Comment

by:CJ_S
ID: 6234155
<form action="results.html">
<input type=text name="abc">
</form>


<a href="javascript:;" onClick="document.formname.submit();return false;">


or

<a href="javascript:;" onCLick="this.href='results.html?abc='+document.forms[0]['newPrice'].value">
0
 

Accepted Solution

by:
teacher_mod earned 5 total points
ID: 6374605
accepting the obviously correct answer.

teacher_mod
Community Support Moderator
Experts-Exchange
teacher_mod@experts-exchange.com


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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

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