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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

801 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