get form data to submit to another page using an url

Posted on 2001-06-28
Last Modified: 2012-06-21

<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=.....">

Question by:adrianmak
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
LVL 22

Expert Comment

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

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


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

Accepted Solution

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

Community Support Moderator


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