rails3 link_to :with attribute?

Posted by z3cko on Stack Overflow See other posts from Stack Overflow or by z3cko
Published on 2010-03-24T14:01:32Z Indexed on 2010/03/24 14:03 UTC
Read the original article Hit count: 445

i am wondering if the :with attribute is removed from rails3 since i cannot find anything in the rails3 api - http://rails3api.s3.amazonaws.com

anyone has a clue or give a hint on how to use the :with parameter to send data with a link_to

non-working example:

= link_to "Foo", {:action => "filter", :filter => "filter1",:with => "'test='+$('search').value"}, :remote => true, :class => "trash unselected", :id => "boo"

thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ruby-on-rails