I have something like this:
<tr><td>Local</td><td id="localTime"></td><td><input type="button" value="Get Time" onClick="getServerTime()" /></td></tr>
<tr><td>New York</td><td id="newyorkTime"></td><td><input type="button" value="Get Time" onClick="getServerTime()" /></td></tr>
<tr><td>Tokyo</td><td id="tokyoTime"></td><td><input type="button" value="Get Time" onClick="getServerTime()" /></td></tr>
All of those buttons have an onClick=“getServerTime()”
But how do I find out WHICH BUTTON was clicked? Is there a variable? a method?
All of the buttons call getServerTime, but I need to know which button was clicked.
Thanks in advance.
Leo
:hair: