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 8532247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:40:21+00:00 2026-06-11T09:40:21+00:00

I am using Acuity Scheduling for a project. It uses prototype.js and allows me

  • 0

I am using Acuity Scheduling for a project. It uses prototype.js and allows me to add my own custom code to the head and footer of the page (served to my site via iframe). I’m not familiar with prototype.js, so I’m trying to run jQuery in a way that it won’t conflict. So far I haven’t even been able to get an alert() to successfully work. What can I do to be able to use jQuery on this page?

You can see the content of my iframe here: https://acuityscheduling.com/schedule.php?owner=11134756

If you view the source, you’ll see the code I added at the bottom:

<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script language="javascript">
  jQuery.noConflict();

  jQuery(document).ready(function(){
    jQuery('.time-selection').click(function() {
      jQuery('#rest').append('<p class="continueAlert">Please enter your name and contact info below.</p>');  
    });
  });
</script>

I read all of the jQuery Documentation on using jQuery with other libraries and tried the examples I thought might work. With the code above, I’ve also tried it without jQuery.noConflict();, because with the code above I’m not using $, but rather using jQuery.

Thank you for any insight you can offer on this!

  • 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-06-11T09:40:23+00:00Added an answer on June 11, 2026 at 9:40 am

    My favorite javascript debugger right now is chrome. Looking at your site in Chrome, i discovered that jQuery('.time-selection'); does not return any results during jquery.ready(). This means no click handler is actually added to the time selection radio buttons.

    Once an appointment type and date are selected and the radio buttons appear on screen, then jQuery('.time-selection'); returns all the buttons. I manually added the event at this time using the javascript consolue window, and the text message was correctly appended to the bottom of the window when the radio buttons were clicked.

    So, I don’t believe you have a conflict between libraries at this point-the problem is that you can’t add your event to items that haven’t been created yet.

    Fortunately, it looks like JQuery has a solution. Using the .on() event handler you can specify event handlers for items that haven’t been created yet. Give this code a try:

    <script language="javascript">
      jQuery.noConflict();
    
      jQuery(document).ready(function(){
         jQuery('body').on('click', '.time-selection', function() {
            jQuery('#rest').append('<p class="continueAlert">Please enter your name and contact info below.</p>');  
         });
      });
    </script>
    

    When the .time-selection items get created, this event handler will apply to them.

    Note: Acuityscheduling.com must be accessed over https. Since your url for the jquery library uses http instead of https, I get an insecure content warning in Chrome. Your browser may be rejecting the jquery library entirely.

    Google supports https as well, so I recommend using https instead. Changing

    <script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
    

    to

    <script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
    

    should do the trick.

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

Sidebar

Related Questions

using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using CI for the first time and i'm smashing my head with this seemingly
using a binary search tree I need to add to a vector all int
Using WebViewBrush I can render web page content (it's screen shot) to e.g. Rectangle
Using EF Code First I have an model object that has multiple properties that
Using Rails 3.2.0.rc2 and ruby 1.9.3p0 In app/views/requests/_form.html.erb I have the following code for
Using doxygen and graphviz with my C# project, I can generate class diagrams in
using Silverlight I am having trouble with the following code: CultureInfo culture = new
Using ASP.Net and VB.Net Code Image1.ImageUrl = c:\Blue hills.jpg The above code is not
Using JDeveloper , I started developing a set of web pages for a project

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.