I have to link three input values to the link. How I can do in easy way and I click the link I want open the URL.
<html> <script type="text/javascript"> function changeText2(){ var userInput0 = document.getElementById('userInput').value; var userInput11 = document.getElementById('userInput').value; var userInput21 = document.getElementById('userInput2').value; document.write("userinput"); } </script> Here is a link : <a href="/00ON0000000FOHS?pc0=userInput0&pn0=userInput11&pv0=userInput21" >nothing here yet</a> <br/> <input type='text' id='userInput' value='Enter Search String Here' /> <input type='text' id='userInput1' value='Enter Text Here' /> <input type='text' id='userInput2' value='Enter Text Here' /> <input type='button' onclick='changeText2()' value='Change Link'/> </html>