Well, I recently had a question when I analyzed some forms on web sites. I'll be quite straightforward.
Because some HTML Forms in some web applications use a javascript code in their action,
For example:
action="javascript:sendForm('parametros');"
Instead of the actual path that would be sent:
action="/empresa/funcionarios/novo"
What is the advantage of using these actions? The only thing I thought would bring me benefits would be if a user disengaged the javascript then no communication would be established,