Thanks it worked.
On 3 Okt, 18:31, Walter Lee Davis wrote:
> Here's a page that explains how to do this using JavaScript within the
> form builder syntax.
>
> http://www.folksonomy.org/2008/12/22/rails-auto-clearing-input-field/
>
> Note that any element like this will rely on JavaScript on the
Here's a page that explains how to do this using JavaScript within the
form builder syntax.
http://www.folksonomy.org/2008/12/22/rails-auto-clearing-input-field/
Note that any element like this will rely on JavaScript on the client
to keep from submitting the default value. Be sure to check
Thanks a lot! That worked.
Do you have any tips on my second question?
Anders
On 3 Okt, 16:15, Walter Lee Davis wrote:
> The link that a form submits to is set in the form tag itself, not the
> button. Here's what I mean:
>
> <% form_tag documents_path, :method => 'get' do %>
>
> <%=
3 matches
Mail list logo