hello,
I am making a form and I need two things to happen.
one is call a javacript function and the other
is send the user to another page.

the javacript works but it won't call the other page.

+++++++++++++++++++++++++++++
<form action="test1.html" name=Myform>
<input type="text" name="something">
<input type="button" value="submit" onClick="AddNameParts();">
</form>

+++++++++++++++++++++++++++++
AddNameParts is the Javascript function I am calling.that part works.

if I change the input type to submit instead of button then
it goes to test.html but the javascript part works.

any suggestions as to what I am doing wrong?

thanks