143
rated 0 times
[
147]
[
4]
/ answers: 1 / hits: 34461
/ 11 Years ago, thu, october 3, 2013, 12:00:00
I'm learning JavaScript and I've not that much experience.
But I'm making a HTML table and I want to add in every table cell (<td>
) a onClick event.
<table id=1>
<tr>
<td onClick=tes()>1</td><td onClick=tes()>2</td>
</tr>
<tr>
<td onClick=tes()>3</td><td onClick=tes()>4</td>
</tr>
</table>
Is there another way to do this event in every cell?
More From » html