Sharanya S. wrote:
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
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