<table id="myTable" border="1"> <tbody><tr> <td>cell 1</td> <td>cell 2</td> </tr> <tr> <td>cell 3</td> <td>cell 4</td> </tr> </tbody></table> <br> <input type="button" onclick="cell()" value="Alert first cell">