link instead of submit_tag?

How I replace:

<%= submit_tag "Search" %>

with a text link? (like link_to or so?)


The only way to have a link to submit a form is with JavaScript. Search for it and you'll find many examples out there. There are a couple of ways to do it.

Note that not all browsers support JavaScript, so you may need buttons as alternates w/ <NOSCRIPT>.