I'm trying to create an Login Form, that is retrieved via Ajax and creates a Session via Ajax.
In my Login Form I typed <%= form_tag sessions_path, :remote => true do %> Session Controller def new respond_to do |format| format.js end end And in my session vier directory I created a js.erb $(".login").update("<%= escape_javascript(render('sessions/new')) %>"); the login class spans the whole content of my login form, but trying to open the login form only throws me a completely blank page :/ Is my jquery function not allright, or am I missing out on something? I appreciate any kind of help! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.