Hello,
I am trying to utilize link_to_remote() in the following manner:
<%= link_to_remote(exchange.name,
:update => ''mydiv'',
:url => { :controller => ''attributes'',
:action => :list_user_attributes,
:class_id => class.id,
:user_id => user.id
} ) %>
And I would like it to output the html like so:
<a href="#"
onclick="new Ajax.Updater(''mydiv'',
''/attributes/list_user_attributes?class_id=1&user_id=2'',
{asynchronous:true, evalScripts:true}); return false;" >
But instead, the second parameter in Ajax.Updater has its ampersand
converted to "&" as in:
''/attributes/list_user_attributes?class_id=1&user_id=2'',
Is there a way to avoid this using link_to_remote or can you recommend
an alternative to link_to_remote?
Thanks in advance,
-Al