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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:39:12+00:00 2026-05-20T04:39:12+00:00

I am adding a new form to our website in Perl (wasn’t my choice).

  • 0

I am adding a new form to our website in Perl (wasn’t my choice). There is a lot of html generate automatically for the forms to create the consistant look. My problem comes in where the legacies use prototype for various things throughout the page (including on load). However i want to use jQuery and mainly the date picker from jQuery UI. I can avoid conflicts by using jQuery.noConflict();. But i still get an error becuase of a line of code in the jQuery date picker javascript.

inst.dpDiv.zIndex($(input).zIndex()+1);

See how it still contains the $ symbol, which prototype tries to handle but can’t. Does anyone have any solutions for me? I am using jQuery 1.5 and jQuery UI 1.8.6.

In summary: I can’t remove prototype.js, I would prefer to use jQuery UI datepicker and jQuery UI datepicker doesn’t handle jQuery.noConflict().

Thanks

EDIT
This only happens when i try to click on the button to show the date picker.
From firebug:

$(input).zIndex is not a function
inst.dpDiv.zIndex($(input).zIndex()+1);
datepicker.js (line 651)

EDIT EDIT
Updating to jQuery UI 1.8.9 doesn’t change the problem.

EDIT EDIT EDIT
This problem occurs when clicking the button to show the date picker. So on load the datepicker is set up fine. Changing the order of the scripts doesn’t work, and any sort of variation of the following code doesn’t work either.

(function($) { 
  $(function() {
    // more code using $ as alias to jQuery
  });
})(jQuery);
  • 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-20T04:39:13+00:00Added an answer on May 20, 2026 at 4:39 am

    Thanks for all the responses. I couldn’t end up figuring out how to fix the conflict. So i removed the jQuery UI datepicker from the form. Thanks again.

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

Sidebar

Related Questions

I have a TreeView control on a form. I am dynamically adding new TreeNodes
I want to create a simple form for adding new products using jqModal .
I have a form for adding new students to a Database and a php
I have created one form that extends zend form. For Adding New Record it
I'm working with someone else's code, and I'm adding a new form So, I've
I created a form for adding notes about a customer in our web admin.
So I'm adding a tab panel to a child window. A lot of our
Adding a new Form in the project creates a default form with default properties.
The green plus sign button for adding new instances in the admin form disappears
I have trouble with adding new row to my UITableView. I read similar questions

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.