this is a code i wrote just to check something that didnt seem to work in my site.
when i press on the button i get an error: "object doesnt support this property or method".
i've checked it without the form and it worked. but when i place the button inside the form it doesnt. i've tried to switch between get and post and other things but i'm probably missing something.
<form name = "form1" action="" method="post">
<input type="button" name="aaa" value="press" onClick="aaa('3')" />