rjs
format.js response doesn't execute
I use Rails 3.0.0 Beta following an action, my RJS view returns JavaScript, but the code is not executed[详细]
2022-12-23 12:38 分类:问答RJS error: TypeError: element is null
I got RJS error: TypeError: element is null while using ajax. I usedin view <%= periodically_call_remote(:url=>{:action=>\'get_user_list\', :id=>\'1\'},[详细]
2022-12-23 04:43 分类:问答Using ajax actions with google friendly route
I am attempting to beautify my routes so that they follow the syntax of lists/name-of-list/id as per here: http://gregmoreno.ca/how-to-create-google-friendly-urls-in-rails/[详细]
2022-12-22 22:55 分类:问答How do I find the object with the oldest updated_at column in RJS?
I\'m trying to remove the object with the oldest updated_at value when the rjs is executed. page.insert_html :top, :messages, :partial => @message[详细]
2022-12-22 18:10 分类:问答Confused as to which Prototype helper to use
After reading http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html I just can\'t seem to find what I\'m looking for. I have a simplistic model that deletes the oldest message aft[详细]
2022-12-22 17:16 分类:问答Linked List Dependent Select Boxes
So I haven\'t been doing this for long but I\'m completely stuck on this.I have a model which looks like this (simplified for brevity):[详细]
2022-12-21 21:35 分类:问答Rails: Ajax form validations with error_message_on
I\'ve been trying to get get some ajax validations going in my form and have been running into a bit of trouble[详细]
2022-12-17 05:26 分类:问答Rails ajax background requests
I have a remote_form which works 100% When a user clicks submit, it goes out grabs so data from the db or data scraped from another website, and updates the page seamlessly...[详细]
2022-12-16 23:18 分类:问答RJS returns plain javascript without JS tags
Here is code on view in FeesController \"show\" action template: <div id=\"payers_controls\"> <%= link_to_remote(\'New payer\',[详细]
2022-12-16 12:40 分类:问答form_remote_for not executing RJS, just displays JS
I\'m using prototype/rjs on rails 2.3.3 and ruby 1.86 and my form_remote_for to my \"create\" controller just displays the create.js.rjs instead of executing it. The strange this is that all the other[详细]
2022-12-14 17:28 分类:问答