<html><head>
<script language=vbscript>
sub showmsg()
alert(form1.button1.value &
"," &
form1.button1.name)
alert(form1.elements(0).value)
end sub
</script>
</head>
<body>
<form name=form1 id=form1>
<input type=button name=button1 id=button1 value=button1 onclick=showmsg>
</form>
</body>
</html>