Link to home
Start Free TrialLog in
Avatar of adrianmak
adrianmak

asked on

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












Avatar of CJ_S
CJ_S
Flag of Netherlands image

<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">
ASKER CERTIFIED SOLUTION
Avatar of teacher_mod
teacher_mod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial