rjs
Anyone has a link to Rails (2.3.8) RJS Api?
Do any of you 开发者_JAVA百科know any good reference for the RJS mechanisms in Rails (2.3.8)? I can find a few examples from like 2006/2007 and no actual documentation.The API for Rails 2.3.8 is avail[详细]
2023-01-14 20:10 分类:问答Reuse js.rjs files in Rails?
i have an .js.rjs file, that must be used in many places. How can i reuse it ? For example, in my .js.rjs file i need something like this:[详细]
2023-01-14 18:14 分类:问答rjs is not working with IE
My code: # app/controllers/log_controller.rb class LogController < ApplicationController def in @user = User.login(params[:login])[详细]
2023-01-14 08:16 分类:问答RoR: How to handle custom nested form's submit
I managed to do almost all the way towards happiness with my custom form in ruby-on-rails, but the very last step is missing and it is impossible to find the answer on the net because of too many comm[详细]
2023-01-13 15:52 分类:问答Rails 3: RJS vs JavaScript
I\'ve recently started learning Ruby on Rails, based on RoR3 beta/RC. I had earlier been developing applications using other frameworks (like Django), where the JavaScript had been written completely[详细]
2023-01-09 22:09 分类:问答How to access an array via RJS proxy?
In Rails\' RJS Adapter, page[\'id\'] // $(\'id\') accesses an CSS-id, page[\'id\'].property // $(\'id\').property[详细]
2023-01-08 11:30 分类:问答How to reload a div using render(:update) and replace_html?
How to reload only the div id on a page? I just need to reload a certain div. in my 开发者_开发知识库controller I have[详细]
2023-01-07 14:26 分类:问答Rails - How to differentiate an action call from different pages?
I have a destroy action defined for a particular resource. On completion, it uses an rjs file with a visual effect to remove the resource from the page that it is being called 开发者_如何学运维from.[详细]
2023-01-06 03:47 分类:问答getting id of parent element in rails rjs
I\'m working with a that allows the user to add new contents开发者_如何转开发 to a shipment box.For example:[详细]
2023-01-04 21:59 分类:问答RJS in controller
i have put the following rjs in a controller... but it gives me the following error... TypeError: Element.update is not a function[详细]
2023-01-03 21:41 分类:问答