hi,
In this script the alert messages are shown as desired. But the form is not submitted.
How do You call the function? It should be like:
' onclick="myFunc(); return false;" '.
Make shure that the whole form is within _one_ layer.
Any error messages? Type 'javascript:' in the url-input and press enter.
Is the file online?
hth and regards Joachim