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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:15:40+00:00 2026-06-12T04:15:40+00:00

so I was making a website and moved around the scripts a bit in

  • 0

so I was making a website and moved around the scripts a bit in the page and all of a sudden some of the scrips stopped running on my clients PC. I had to do some hit and try and it finally worked, but I cant figure out what caused the problem.

this is the structure when it wasnt working

<html>
<head>
<script type='text/javascript' src='somepath/script/jquery.js'></script>
<script type='text/javascript'>
//some custom jquery script
</script>
</head>
<body>
....lots of stuff
</body>
</html>
<script type='text/javascript' src="sompath/some_jquery_plugin.js'></script>
<script type='text/javascript'>
//some custom jquery script
</script>

this is the structure when it was working

<html>
<head>
<script type='text/javascript' src='somepath/script/jquery.js'></script>
<script type='text/javascript'>
//some custom jquery script
</script>
</head>
<body>
....lots of stuff
</body>
</html>
<script type='text/javascript' src='somepath/script/jquery.js'></script>
<script type='text/javascript' src="sompath/some_jquery_plugin.js'></script>
<script type='text/javascript'>
//some custom jquery script
</script>

i.e notice the additional jquery.js inclusion at the end….

what possible reasons could have caused this? specially since it was working on my system on all browsers but not my clients.

***update********
I think jquery stopped working somewhere in the middle… i.e I had this script at the end

$('#start').val('0000.00.00 00:00');
$('#end').val('0000.00.00 00:00');

but the fields with “start” and “end” id werent showing the given data. hence the extra inclusion of jquery required.

  • 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-12T04:15:41+00:00Added an answer on June 12, 2026 at 4:15 am

    Does the first inline script use jQuery.noConflict (or $.noConflict)? Does the “....lots of stuff” in your example load some other library like Prototype that might redefine the $ object? This may be the problem.

    Try putting all of your code in the second script tags inside of:

    (function ($) {
        // YOUR CODE HERE
    }(jQuery));
    

    (and remove the second jQuery inclusion) and see if that helps.

    If your code is already wrapped in:

    $(document).ready(function () {
        // your code
    });
    

    or:

    $(function () {
        // your code
    });
    

    then try changing it to:

    jQuery(document).ready(function ($) {
        // your code
    });
    

    or:

    jQuery(function ($) {
        // your code
    });
    

    (note that it’s function ($) instead of function ())

    (You may also need to put the plugin just below the first jQuery in case it is not written in a way that works with $ undefined or redefined but generally that shouldn’t be necessary for plugins written properly.)

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

Sidebar

Related Questions

I'm making a website that tend to handle all the request in one page
I'making website which is for all desktop/iPad/iPhone. In one page I have header and
I am currently making our website to be supported by all major browsers and
I am making a simple responsive website for a client, on the home page
I'm making a mobile website and I'm using javascript to animate things around? Is
i'm making a website where users can input some BBcodes and my owan BBcode
I'm making a bookshop website (for a little college javascript project) So far all
So I'm making a website for used goods. That is, a place where people
I am making the website of a movie theater, and I want Google Movies
I'm making a website that mail users when a movie or a pc game

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.