Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


get form data to submit to another page using an url

Posted on 2001-06-28
Medium Priority
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 20 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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

636 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