Hopefully a nice easy question. I have a form, but when the user presses enter on a textbox, the form submits, which I do not want it to do. I have the following code, but don't know how to cancel the form from submitting.

JAVASCRIPT

function textchange(thekey)
{
if(thekey==13)
{
This is where the code should go I believe, that would cancel the submission.
}
}


HTML

<input SIZE=10 type='text' name='thedate' onKeypress="textchange(event.keyCode);'"></TD></TR>