<input type="button" value="click1" onclick="alert(event.srcElement.value)"><br>//弹出对话框中显示click1
<input type="button" value="click2" onclick="alert(this.value)"><br>//弹出对话框中显示click2
<!--EndFragment-->
<input type="button" value="click1" onclick="alert(event.srcElement.value)"><br>//弹出对话框中显示click1
<input type="button" value="click2" onclick="alert(this.value)"><br>//弹出对话框中显示click2
<!--EndFragment-->