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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:53:50+00:00 2026-05-24T20:53:50+00:00

I use two different kinds of JS libraries, but apparently, there is an error

  • 0

I use two different kinds of JS libraries, but apparently, there is an error when using both.

The two things I use are Mootools and JQuery UI

<!-- Agenda slider -->
<script type="text/javascript" language="javascript" src="js/mootools-1.2.1-core.js"></script>
<script type="text/javascript" language="javascript" src="js/mootools-1.2-more.js"></script>
<script type="text/javascript" language="javascript" src="js/lofslidernews.mt12.js"></script>
<!-- Datepicker -->
<script type="text/javascript" language="javascript" src="js/jquery-1.6.2.js"></script>
<script type="text/javascript" language="javascript" src="js/ui/jquery.ui.core.js"></script>
<script type="text/javascript" language="javascript" src="js/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" language="javascript" src="js/ui/jquery.ui.datepicker.js"></script>

When I use this snippet, the Agenda slider failed to work. However, when I delete this line

<script type="text/javascript" language="javascript" src="js/jquery-1.6.2.js"></script>  

The Agenda slider works again, but the Datepicker refuses to work…

How can I combine both scripts and end up with two working javascript-based elements?

EDIT
The only JS included in the .php files are those three little snippets

 <script language="javascript">
    $(document).ready(function() {
            $.featureList(
        $("#tabs li a"),
        $("#output li"), {
            start_item  :   1
        }
    );

    // Alternative
    $('#tabs li a').featureList({
        output          :   '#output li',
        start_item      :   1
    });
    });
  </script>
  <script>
    $(function() {
        $( "#datepicker" ).datepicker();
    });
  </script>
  <script type="text/javascript">
    var _lofmain =  $('lofslidecontent45');
    var _lofscmain = _lofmain.getElement('.lof-main-wapper');
    var _lofnavigator = _lofmain.getElement('.lof-navigator-outer .lof-navigator');
    var object = new LofFlashContent( _lofscmain, 
                                      _lofnavigator,
                                      _lofmain.getElement('.lof-navigator-outer'),
                                      { fxObject:{ transition:Fx.Transitions.Quad.easeInOut,  duration:800},
                                         interval:3000,
                                         direction :'hrleft' } );
        object.start( true, _lofmain.getElement('.preload') );
    </script>
  • 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-24T20:53:51+00:00Added an answer on May 24, 2026 at 8:53 pm

    Here’s some jQuery documentation explaining how to use other libraries in conjunction with jQuery.

    From the docs:

     <html>
     <head>
       <script src="prototype.js"></script>
       <script src="jquery.js"></script>
       <script>
         var $j = jQuery.noConflict();
    
         // Use jQuery via $j(...)
         $j(document).ready(function(){
           $j("div").hide();
         });
    
         // Use Prototype with $(...), etc.
         $('someid').hide();
       </script>
     </head>
     <body></body>
     </html>
    

    So, for your particular case, try:

    <!-- Agenda slider -->
    <script type="text/javascript" language="javascript" src="js/mootools-1.2.1-core.js"></script>
    <script type="text/javascript" language="javascript" src="js/mootools-1.2-more.js"></script>
    <script type="text/javascript" language="javascript" src="js/lofslidernews.mt12.js"></script>
    <!-- Datepicker -->
    <script type="text/javascript" language="javascript" src="js/jquery-1.6.2.js"></script>
    <script>
     var $j = jQuery.noConflict();
    </script>
    <script type="text/javascript" language="javascript" src="js/ui/jquery.ui.core.js"></script>
    <script type="text/javascript" language="javascript" src="js/ui/jquery.ui.widget.js"></script>
    <script type="text/javascript" language="javascript" src="js/ui/jquery.ui.datepicker.js"></script>
    

    Then, don’t forget to change all references from $ to $j when you are trying to use jQuery rather than MooTools.

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

Sidebar

Related Questions

I have two web applications in the same solution. They both use different membership/profile
Can I use two different back ends for an .net Entity Framework project? I
Scenario I have a windows forms application. I want to use two different WCF
I have now worked on two different teams that use the Agile/Scrum approach in
I am making a iPhone app that has two different targets. They use the
Does your work environment use Harvest SCM? I've used this now at two different
Is there really a difference in these two calls? If you use getJSON, you
I use MongoDB + PHP for a facebookish newsfeed with different kinds of feeds
I'm searching in two different modes using Thinking Sphinx: Full search on a single
i need two kinds of UITableViewCell that has different height: a) One with a

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.