Does anyone know how I can do this Javascript command with RJS? this.parentNode.className = ''selsec''; This is what my AJAX call looks like in my view (which will invoke load_chart.rjs) <%= link_to_remote "Ajax Magic" , :url => {:controller => "chart", :action => "load_chart" } %> How exactly would access "this" in an RJS template? Thanks! chirag --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---