on 2007-02-12 08:58
on 2007-02-12 09:12
Sure, but are you sure this is the right way to get what you want? you can access any DOM element with the page hash. ex: html: <form> <input type="text" id="monkey" /> </form> RJS: page[:monkey].value = "likes bananas"
on 2007-02-12 09:19
I've just solved this problem creating a layout named _form2.rhtml with the source code of the first form and writing render :partial => form2 in the controller, just after retrieving the information I needed. Very nice =) Thank you all. Felipe