It's bad practice, but the “dangers” are nothing to do with security.
Using a script-assisted link to submit a form instead of just having a submit button unnecessarily makes your form require JavaScript (so it won't work where JS is unavailable or broken due to other errors), and makes the link give affordances like “open in new window” and “bookmark link” that aren't appropriate and won't work for a form submission.
Use a normal input type="submit"
button. If you really want it to look like a link for some reason, style it like one, for example:
input.linklike {
color: blue; text-decoration: underline;
border: none; padding: 0;
width: auto; overflow: visible; /* hack for IE */
}