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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:08:58+00:00 2026-06-17T20:08:58+00:00

First of, I am using jQuery-1.8.2… I was wondering how can I load custom

  • 0

First of, I am using jQuery-1.8.2…

I was wondering how can I load custom scripts from other server and from main server as backup.

Just like loading jquery or jquery tools or jquery ui… and so on.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="<?php echo $siteURL; ?>/js/jquery-1.8.2.min.js"%3E%3C/script%3E'))</script>

I am not really sure how can I do this for custom script… For example for the link below.

<script src="//dvL-den.net/custom/random-script.min.js"></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-06-17T20:09:00+00:00Added an answer on June 17, 2026 at 8:09 pm

    The first code snippet works by detecting if the jQuery global object has been created. That’s all. (It presumes that no other scripts are creating any global variables named ‘jQuery’, but that’s a reasonable — although not infallible — presumption.)

    You need to do the same — check to see if some unique global variable, object, or property in your custom script exists, and if not, assume the script hasn’t been called. It can be anything, even a bizarre variable like var window._this_is_a_test = true which is set solely for this purpose.

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

Sidebar

Related Questions

its my first time using .animate() from jQuery. My main idea is panel with
using jQuery I'd like to load a local html file first ( which contains
Using jquery, how can I find the first div that contains an input with
This is my first time using jQuery and I am pleased to get my
how to capture the first cloned list using jquery? <ul id=testList> <li><input type=checkbox /><p>
I have a problem with selecting not first selector using attributeContains jQuery('div[id*=abc]:not(:first)').hide();
i need to trim a string to its first 100 characters using jquery/javascript. also
First I am using the jQuery colorbox plugin that is working fine so far
i am using jquery for first time in a phonegap eclipse application.i have downloaded
I'm using jQuery validation plugin. I have two images: first background of label, when

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.