It feels like such a simple issue, but my function is incorrectly returning "1" instead of just an empty space "" in my textbox.
<td><input type="button" value="Space" name="Space" onClick='document.firstChild.search.value = document.firstChild.search.value.substring(0,document.firstChild.search.value.length*1) +1'/></td>