I have a javascript variable, I would to send along with my params when a person clicks a link.
var js_variable = something;
...
<%= link_to_remote "Link Name", {:url => {url_params}, ajax_options}, {html_options} %>
how do I add js_variable to the url_params hash??
Using rails 2.3.8