get form data to submit to another page using an url

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












adrianmakAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
teacher_modConnect With a Mentor Commented:
accepting the obviously correct answer.

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


0
 
CJ_SCommented:
<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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.