This is a part of my Jsp

<script language="JavaScript"> function send() { document.movCabForm.submit() } </script>

... ... ...

<html:text property="codMov" size="2" onchange="send()"/>

The error is:

"The object do not accept this property or method"

The DOM found the page element because if I write :

<script language="JavaScript">

function send()

{

if (document.movCabForm.field1 == "CC")

alert("OK")

else

document.movCabForm.submit()

}

</script>

This work if I put "CC" in field1 the alert appear, and in another case the error comes.

I need to submit the form if some fields change (in a onchange handler) because i need to rebulild this form.

The default action is correctly set

Please help.