Re: updating the dom - Solution


#1

Easy solution. I am using the behaviour.js package. Using this, the
solution
was to apply a Behaviour.apply(); command when the XMLHttpRequest() is
complete. So my solution was to use the form_remote_tag properties to
help
me call this like such:

link_to_remote(“questions”,
:url => { :action => ‘curator_questions’, :uid =>
curator.id,
:tid => @curators.id },
:update => “curator_question_container”,
:complete => “Behaviour.apply();”)
Steve
http://www.smarkets.net