Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6708199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:43:49+00:00 2026-05-26T07:43:49+00:00

I am having page.replace_html with a partial in the controller. What is the correnponding

  • 0

I am having page.replace_html with a partial in the controller. What is the correnponding .js file that i had to include to support this .

Thanks,
Ramya.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:43:49+00:00Added an answer on May 26, 2026 at 7:43 am

    Assuming you are using Rails 2.3.x Prototype and its dependencies are already present in the framework. In you application you can include prototype.js specifically or use
    <%= javascript_include_tag :defaults %> which includes all the js files Rails provides, if application.js is there then that is included as well. PrototypeHelper in rails gives you the methods replace_html etc. If you use jquery instead of prototype then you would have to use jrails plugin.

    In Rails 3 jQuery is present by default and jrails is not going to work. Rails 3 removed the the link between its Javascript helpers and Prototype, as unobtrusive way is recommended to do those things. However, you could user the Prototype Legacy Helper provided by Rails to get those methods.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The problem is, say, i am having a page xyz . And in that
So I am using this code to drop a cookie, and having the page
I am having an page. I need to capture the exception which is thrown
I've an asp.net page having a server side submit button and 2 textboxes which
Isn't there a CSS way of having the page to get a border around
I am using Joomla 1.5. i am having a page where a cSS has
In VS 2008, I have an ASP.NET content page having one master page. I
I am working with an ASP.NET MVC application. I have one master page having
Having downloaded Pango and GLib from the GTK+ Project's Win32 downloads page and having
I am having a JSP page, where i am dynamically creating a Table data.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.