html - Get value from form input to form action -
i have html form , put values form form action can redirect user correct place after submit form.
i can working 1 of values, need 2 values.
here working script:
function selectchangedadgang(adgangvalue) { alert("you choose: " + adgangvalue); document.getelementbyid("documentform").action = "/form.aspx?link=/intranet/dokumenter?adgang="+adgangvalue; }; so need have script running "2 times", can input 1 more value input field.
if want pass in multiple get-paramters following:
/form.aspx?link=/intranet/dokumenter?var1=value1&var2=value2
Comments
Post a Comment