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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:35:36+00:00 2026-05-20T18:35:36+00:00

Hello All and thanks ahead for any help I’m working on a website which

  • 0

Hello All and thanks ahead for any help

I’m working on a website which references a global template that calls jquery-latest-min.js

So before you ask, the version will change beyond my control.

After many hours of troubleshooting some jquery code, I’ve found that removing the call for jquery latest will make the code work again, however when it’s broken, the following code doesn’t return the correct option index. If you remove jquery latest, it works.

<html>
<head>
<script type="text/javascript" src="jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="jquery-latest-min.js"></script> <!-- THIS IS THE ONE CAUSING CONFLICT -->
<script type="text/javascript">
    $(function() {
        $("div.click").click(function(){
            selectedOptionIndex = $("#mySelect option:selected").index();
            alert(selectedOptionIndex); // should alert "0"
        });
    });
</script>
</head>
<body>
    <select id="mySelect">
        <option value="">0</option>
        <option value="">1</option>
        <option value="">2</option>
        <option value="">3</option>
    </select>
    <div class="click">
        Click
    </div>
</body>
</html>

Is there something I’m doing wrong, or is there a problem with jquery latest? The version in particular here is v1.3.2

  • 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-20T18:35:37+00:00Added an answer on May 20, 2026 at 6:35 pm

    You’re including two versions of jQuery, that’s probbaly causing the conflicts.

    <script type="text/javascript" src="jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="jquery-latest-min.js"></script>
    

    You only need one. So try removing the jquery-1.4.4.min.js.

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

Sidebar

Related Questions

Hello all and thanks for any help in advance. I have a ruby on
Hello all I hope someone can help me I am working on a simple
Hello all and thanks for the attention! I have a problem that must both
Hello All , Thanks to @FailedDev I currently have the regex below which is
hello all I have a small dialog which I created dynamically, which has a
Problem Hello all! I have this code which takes my jpg image loops through
NOTE: Using .NET 2.0, and VS2005 as IDE Hello all, I'm working on logging
Hello all and thanks in advance I have the tables accounts , votes and
Hello all this is my first post here i have been working in an
hello all i want to retrieve my all the wall post that i have

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.