Dynamic Link Example

Potential solution to http://stackoverflow.com/questions/6192517/how-to-use-an-input-field-as-query-parameter-to-a-destination/6192614#6192614

by briguy37

HTML

<input id="textbox" value="" size="25" />
<a class="button" href="willBeChanged" 
 onclick="this.href='http://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value);">
  <span>Search</span>
</a>