<html>
<head>
<script language="javascript">
function hello(e)
{
alert("hello"+e.name); }
</script>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<form name="myform">
<input type="button" value="hi" name="mybutton" onclick="hello(this)">
</form>
</body>
</html>
<head>
<script language="javascript">
function hello(e)
{
alert("hello"+e.name); }
</script>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<form name="myform">
<input type="button" value="hi" name="mybutton" onclick="hello(this)">
</form>
</body>
</html>
<head>
<script language="javascript">
function hello()
{
alert("hello"+event.srcElement.name); }
</script>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<form name="myform">
<input type="button" value="hi" name="mybutton" onclick="hello()">
</form>
</body>
</html>