Solved

get form data to submit to another page using an url

Posted on 2001-06-28
2
678 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
2 Comments
 
LVL 22

Expert Comment

by:CJ_S
Comment Utility
<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
Comment Utility
accepting the obviously correct answer.

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


0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article discusses how to create an extensible mechanism for linked drop downs.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now