Community & Support

append text box value to href link before submit

i want to append to a query string the value of a text box..

<a href="1.html?actionName=edit&title_edit= 'document.f1.getElementById(ti).value'&url_edit='document.f1.getElementById(ur).value'">Edit</a>

i tried all possible ways such as adding or js or concate '+',...but still doesn't work...any solutions!!!