Ruby AJAX modal to show the form 43 Words | 0 Min | Posted on 2015-06-02 | | Views set the link tag to remote:true in the controller route to set up the connection, respond__to do |format| format.js end use html = ‘<%= escape_javascript render(“filename_withough_underscore”) %>’注意外面是单引号,里面双引号