link-to-remote
Double remote call with jQuery Address plugin and Rails 3 remote links
I\'m using this jQuery plugin http://www.asual.com/jquery/address/ because I have a full ajax site hacked in Rails 3.1.0 but my actions/methods also respond to html requests.[详细]
2023-04-12 09:06 分类:问答render :update on Rails 3.1.0 gives me Missing Template update
I\'m working with rails 3.1.0 and this is my first application on 3.1.0 I have a remote link: link_to \"my link\",{:controller=>\"my_controller\",:action=>\"my_action\"},:remote=>true[详细]
2023-04-11 08:41 分类:问答Symfony confirm message if a condition is true (submit_to_remote)
I made a radiobutton based form in Symfony. I\'d like to make a confirm message, IF a radio button checked. This is 开发者_运维百科my code, but it\'s not exactly what I want:[详细]
2023-02-07 20:41 分类:问答Prevent Rails link_to_remote multiple submits w Javascript
In a Rails project I need to keep a link_to_remote from getting double-clicked.It looks like :before and :after are my only choices - they get prepended/appended to the onclick Ajax call, respectively[详细]
2023-02-01 10:02 分类:问答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 分类:问答apply link_to_remote from a jQuery handler in Rails
I have a game with 5 boxes and when a box is clicked I want to send an ajax request to a controller that in effect is exactly like link_to_remote. I need to send a hash of informatoin to a definition[详细]
2023-01-31 04:49 分类:问答Ruby on Rails, update div on click with link_to_remote
I\'m implementing a netflix-like 5 star review ratings. The goal is to have a \"rating\" div that serves both to enter the rating by clicking on one of the stars, as well to display the current rating[详细]
2023-01-20 08:37 分类:问答How can I update an association (has_one) in a Rails AR using link_to_remote?
This is what I have in my view: <%= link_to_remote \"Responded - Positive\", :url => contact_path(@contact, :status => \'positive response\'),[详细]
2023-01-18 14:22 分类:问答How do I update a :has_one value through link_to_remote?
I want to be able to change value for the :status_contact for the model Contact (has_one :status_contact[详细]
2023-01-18 01:15 分类:问答How to get link_to_remote work with jQuery? Ajax is not defined error
I\'m using Ruby on Rails with jQuery and tr开发者_Python百科ying to do the following: <%= link_to_remote (image_tag(\"delete.png\"),:url => { :action => \'remove_candidate\', :id => candi[详细]
2023-01-07 00:03 分类:问答