Ive googled this and searched here and other forums but not getting appropriate reuslts. Perhaps someone on the board can help. All i want to do is to have a button/link on a page such as "add task" which when pressed will insert the appropriate form plus fields directly under the button/link. Im wondering do i use use remote_link_for for this and if it will link back to the current views controller right? or is there a simpler way of doing this. IF on the same page i had varius links of this sort such as "add task", "expand table", "collapse table" and they all linked back to the same controller action, how would i diferentiate between them. Would the logic be in the controller opening up different rjs files or would it be in teh one rjs file? Any help on any of the points would help me out a lot!
on 2009-02-15 08:28
on 2009-02-15 12:41
on 2009-02-17 15:15
many thanks mad for your explanation. Im going to use the ajax call method for now.