2
Guys, recently I came across a question when I analyzed some forms on websites. I’ll be very direct.
Because some HTML forms in some web applications use a javascript code in their action,
For example:
action="javascript:sendForm('parametros');"
To instead of the real way that would be sent:
action="/empresa/funcionarios/novo"
What is the advantage of using these actions? The only thing I imagined would benefit me would be if a user disabled javascript so no communication would be established,