Search
 
SCRIPT & CODE EXAMPLE
 

HTML

include jquery if not included

<!--
	Checks to see if jquery is defined
	If jQuery is NOT detected, include the script.
-->
<script type="text/javascript">
    if(typeof jQuery == 'undefined'){
        var foo = document.createElement("script");
        foo.type = "text/javascript";
        foo.src = "https://code.jquery.com/jquery-1.12.4.min.js"; // add path to jQuery script here
        document.head.insertBefore(foo, document.head.getElementsByTagName("script")[0])
    }
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: prettier html formatting 
Html :: decode html entities 
Html :: href open in new tab 
Html :: html franc symbol 
Html :: get html element selenium c sharp 
Html :: limite file input to jpg 
Html :: lwc unescaped html 
Html :: how to select every element except first 
Html :: credit card formatter in html with javascript 
Html :: ruby and rails html show date year 
Html :: vertical tabs bootstrap 
Html :: Emoji Symbols in UTF-8 of coins 
Html :: puppeteer html custom attribute 
Html :: anatomy of a html document 
Html :: How to insert an image in bootstrap 4 
Html :: what is attributes in html 
Html :: html relative path go back one directory 
Html :: a href 
Html :: col tag in html 
Html :: html website 
Html :: html classes 
Html :: createjs 
Html :: inline code html 
Html :: text input is geeting empty space at start 
Html :: create a close x button in html 
Html :: gjgug 
Html :: simple navbar 
Html :: Impossible to create the root directory "/var/www/html/laraship-subscription/storage/app/public/media/user_v1oz1Yz27j/26 
Html :: shchema keyref et key use 
Html :: db sheets 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =