I'm trying to make a keyboard thing so that I can click the buttons on a webpage corresponding to each letter on the keyboard and then have those letters appear in a text box! I'm sure this is really simple and I actually did something similar in university but I can't remember it and have no access to my uni files!
Basically what I have is this:
<div align="center">
<form name="keyboard">
<table>
<tr>
<td><input type="text" name="Input"></td>
</tr>
</table>
<table>
<tr>
<td><input type="button" value="Q" name="keyQ" onClick="AddDigit('Q')"></td>
<td><input type="button" value="W" name="keyW" onClick="AddDigit('W')"></td>
<td><button>E</button></td>
<td><button>R</button></td>
<td><button>T</button></td>
<td><button>Y</button></td>
<td><button>U</button></td>
<td><button>I</button></td>
<td><button>O</button></td>
<td><button>P</button></td>
</tr>
</table></div>
I removed all the other lines of code just to reduce space but you get the idea of how I'm doing it. I tried adding the < input type="button" > things for two of the letters but I have no idea if I'm on the right track because it's really difficult to find anything regarding html/java keyboards, only about calculators.
This is literally just for my boyfriend so that, as soon as this is working I can change the value of different letters to things like Morse code because he's interested in stuff like that and I'm interested in stuff like this, even if I do suck.