hi im literally a complete amateur at the but i was wondering how to write the information from a button e.g. A into a text box. I know it involves an onclick command but i just can figure it out. any help would be greatly appreciated below is what i already have:
Code:
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Table</h1>
<form>
<table border="1">
<tr>
<td><input type='button' value='A' /></td>
<td><input type='button' value='B' /></td>
</tr>
</table>
<input type="text" name="searchbox" size=15>
<div style="position:absolute; left:150px; top 150px;"></div>
</form>
<hr />
</body>
</html>
Comment