Hi,

Just found out that invoking the onclick() of a SUBMIT button doesnt submit the form even though the function gets called and returns true. Here's a snippet. Can anyone tell me why? In this example, clicking the first INPUT submits,but doesnt submit on second INOUT click.
(Guys, I know onclick() works only on IE,but that's not my point here )
Code:
<!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Why?</title>
</head>
<script>
function test()
{
	return true;
}
function clickHandler()
{
	document.getElementById("mybutt").onclick();
}
</script>
<body>
<form action="www.google.com">
	<input type="submit" onclick="test();" id="mybutt"> 
	<input type="button" onclick="clickHandler();" >
</form>

</body>
</html>