Posts [ 2 ]

Topic: Parameters to RJS

Hello all,

I am working on my first "real" project in rails. I am rendering partials through link_to_remote using RJS to update a <div> without a reload. Allright, my question is this. Is there anyway to write a generic RJS file that accepts a div (for elementID) and a partial?