<html>
<head>
<script type='text/javascript'>
function get_params(form)
{
for(var i=0;i<form.elements.length;i++)
{
alert(form.elements[i].value);
}
}
</script>
</head>
<body>
<form onsubmit="get_params(this);return false;">
<input type="test" value="qwe" />
<input type="test" value="asd" />
<input type="submit" value="zxc" />
</form>
</body>
</html>