Can anyone help me

We call the submittion of a form through javascript, would anyone be able to explan why when the form is submitted, the onsubmit function in the form is completely ignored and we never get into this?

Thanks

Sarah