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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:37:19+00:00 2026-06-14T20:37:19+00:00

I need to use jquery in my Magento store. I’ve managed to let both

  • 0

I need to use jquery in my Magento store. I’ve managed to let both prototype and jquery of my extension work alongside. But the problem is I am using two third party extensions. Both have their own jquery files to include. Now prototype of Magento and two additional jquery files are making a mess of my store. Is there any way to use one jquery file for both extensions. I have tried using the latest jquery version but neither extension works with that version. I am out of options and ideas here. Can anyone tell me how can i make this work?

I tried removing the script blocks. But it generates more errors. I have one extension that displays product images in a lightbox from product list page. This extension uses jquery-1.7.2.min. version. The other is a call for price extension which uses jQuery v1.4.2 version. I removed the one from call for price extension’s xml and added a jQuery v1.8.2 version in page.xml. So both the extensions can use it. It now generates these errors:

TypeError: $(document).ready is not a function
$(document).ready(function() {

This code is written in my list.phtml file.

$(document).ready(function() {
var curUrl = "<?php echo $this->getUrl('contacts/index/reseturl/') ?>";

    $("#selCat").change(function(){ 
        $.ajax({
        type: "POST",    
        data: "catUrl=" + $("#selCat").val(),
        url: curUrl,
        dataType: "text",
        success: function(response){
            //alert(response);
            window.location.replace(response);
          }   
        });
    });
});   
  • 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-14T20:37:21+00:00Added an answer on June 14, 2026 at 8:37 pm

    Hey I’ve found a solution for my problem for now. I combined the two jquery files of my two third party extensions into one so now for both of them I include only one file. There was still the conflict between that file and the default prototype.js. So what i did was added

    $.noConflict();
    

    on the top of my product view file view.phtml which released the use of $ from the jquery code to prototype. And all is working as it should now. Thanks for all who replied to me and I hope my solution works for someone else.

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

Sidebar

Related Questions

im using lightbox.js it needs prototype.js and i need to use jquery.js. Now both
I need to use jQuery each function but also need it to work from
I think I need to use jQuery's index() function but I'm doing it all
Ok, this is a weird request, but I need to use jQuery to manipulate
I use JQUERY but have the need to use a piece of JavaScript in
I have a scenario where I need to use jquery 1.8, but I facing
I need to use jquery to add and delete input fields based on user's
I have been using mootools for a year now. I need to use jquery
I use jquery picnet table filter - http://www.picnet.com.au/picnet-table-filter.html I need to display count of
I am need paint my image. I'm trying use JQuery in here this link:

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.