i have a link to remote and i need to pass two values provided by select
boxes to it, a language, and a page count (hits per page to be
paginated) how do i get the code below to send both arguments??
<%= link_to_remote “#{element}”, :update => “a_z_replace”, :loading =>
“Element.show(‘a_z_indicator’)”, :loaded =>
“Element.hide(‘a_z_indicator’)”, :url => {:action => ‘a_z_search’, :ltr
=> “#{element}”},
:with => “‘a_z_language=’+$(‘selectbox’).value &&
‘page_count=’+$(‘page_count’).value” %>|
Rails 2.0.2, both arguments are individually valid expressions and i can
get them to do what i want, but i don’t know how to concatenate them
into a single expression
Thanks,
Richard