From: Max Williams Date: 2009-09-30T22:50:56+09:00 Subject: Re: Ajax submit Sharanya Suresh wrote: > Hi, > > Am able to ajax submit a form in rails view using submit_to_remote and > as expected my results are updated in div without refreshing whole page. > But if i use prototype library am not able to use jquery in that page, > so is it possible to submit a form without using prototype library? The best thing for you to do is to install the jrails plugin (or gem maybe?) which replaces all of the built-in prototype helpers with jquery equivalents. After doing that, when you say link_to_remote, all of the additional javascript that rails puts in for you will use jquery instead of prototype, and you can banish prototype completely. You don't need to make any changes to your code. This post belongs in the Ruby on Rails section rather than the Ruby section btw :) -- Posted via http://www.ruby-forum.com/.