rjs
Rails 3 Link_to :remote is not triggering RJS
I\'m working to setup an AJAX action in rails 3 with the following code.The AJAX part of the code seems to work, but it does not request the开发者_开发百科 correct file and my respond_to serves it the[详细]
2023-02-01 09:53 分类:问答use rjs for reading values
I want to use the value of an input tag开发者_开发知识库 in rjs to do: <%= button_to_function \"add tag\" do |page|[详细]
2023-01-31 15:33 分类:问答Rendering w/ JS element in a li
I\'m working to include in my rails application some prototype to display pages associated with a site. Without JS it works properly, but when I tell the page to update through a RJS with something li[详细]
2023-01-27 00:36 分类:问答On a button click, open new text box in Ruby on Rails
I have a BlogPost resources, where in BlogPost \'show\' screen, I want a \"new comment\" button to be displayed and only on clicking that button I want the new Comment template to be rendered into the[详细]
2023-01-26 09:58 分类:问答Rails 3 remote link displays RJS code on page
I have a Rails 3 app that uses a remote/AJAX link to update a partial on the page.In my view, I have the following:[详细]
2023-01-26 09:29 分类:问答How to create an OnChange "totaling" function from an unknown number of text fields
I\'m having trouble figuring out how to do a simple Javascript task on fields in a table created with Rails 3.[详细]
2023-01-25 01:21 分类:问答Is there a way to call a Rails 3 function from a link_to tag, using :remote => true?
In my Rails 3 app, I have a list of questions. Each question has a \"question number\" which designates its order in the table/list. I\'m trying to implement a \"Move Up\" link that will decrement tha[详细]
2023-01-25 00:57 分类:问答submitting messages from different pages in rails
I\'ve got an app that allows users to submit comments on their profiles (think facebooks wall). As of right now, the users can only submit comments from the homepage, which creates a new \"comment\",[详细]
2023-01-24 10:28 分类:问答Rails 3: Simple AJAXy Page updates?
I can\'t believe I\'ve been looking four hours for this simple task, but I have. In Rails 2.3, I could replace one section of a page with this simple code:[详细]
2023-01-22 09:04 分类:问答Rails RJS AJAX Question
Rails - 3.0 - Trying to make an ajax call but I run into an error. Controller - Home 开发者_运维百科def test[详细]
2023-01-17 03:02 分类:问答