?
Solved

get form data to submit to another page using an url

Posted on 2001-06-28
2
Medium Priority
?
733 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
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 20 total points
ID: 6374605
accepting the obviously correct answer.

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


0

Featured Post

Industry Leaders: 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

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.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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 how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

809 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