question regarding link_to vs link_to_remote


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?