Copy input text from user and add to URL Button
Hello,
I would like to know if it is possible to get the text from the following INPUT field.
My code looks currently so:
- <!-- ID -->
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-mini="true">
<!-- Textfield -->
<input name="ID" id="textinput2" placeholder="ID" type="text" style="width:100%;-moz-box-sizing:border-box;-webkit;box-sizing:border-box;box-sizing: border-box;"/>
<!-- Button -->
<div data-role="content"> <a data-role="button" href="http://www.EXAMPLE.com/">Go!</a></div>
</fieldset>
</div>
Let´s say the User types 4455 into the input field.
What I want it that this 4455 should be added to the href of my BUTTON element.
When the user press on the button then he should call http:www.EXAMPLE.com/4455
First of all thank u all for every coming advise :)