Hi
I have one input field and 2 buttons, each button performs a different function. i want one of the buttons to take the value of the input field and add it to a specified Url (as a param) that button should go to.
so if the value inserted in to the box is "dog" then after clicking the button the URL should be "/go_somwhere?value=dog"
can i do it in just html or do i need a ruby method?
i'm using rails.
thanks