Given this html...
<input id="txtbox-page" maxlength="4" />
how can I create a button or a link that executes a javascript function, where its parameter is the input box value?
I have to call a function, that is already in production, that has this format:
javascript:pageClient('?p=2');
where the number 2, has to be the value of the input box.