Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What do we use the following for ?

what do we use windows.jquery || document.write("<script src='jquery-1..2.js'><\\/script>") for ?

user-image
Question added by Deleted user
Date Posted: 2015/10/10
Deleted user
by Deleted user

Sometime when we use jQuery there may be a case of loading JQuery more than one.This is an handy solution you can try in HTML5 to check whether jQuery is already included or not. If not just go for it and include it.

But do remember this stuff will not work with XHTML type documents.

More Questions Like This