Hi,

I'm hoping someone can answer my question.  With the Rails 2
link_to_remote tag, I could have two separate links, pointing to the
same controller/action, updating two different destinations(divs).
But now that the javascript has been extracted to a .js.erb file
associated with the controller/action, how can I pass it a destination
div?   Should I pass the destination div as a URL parameter for
extraction by the controller, or is there a preferred way of doing it?

Thanks,

Stan


-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to