<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="VbScript">
function test()
set buttons = document.getElementsByTagName("input")
for i=0 to buttons.length-1
alert(buttons.item(i).name)
Next
end function
</script>
</head>