JS: JQUERY LIBRARY


Contents of this page:
• .JS JQuery
• .JS Facebook
• .JS Google


.JS JQUERY

DEFAULT JQUERY

Input this before </head> but alternatively before or after <body> :
<script src='http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js' type='text/javascript'/>
OR USE THIS:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' type='text/javascript'/>

INLINE JQUERY

<script type='text/javascript'>
//<![CDATA[
document.write("<scr" + "ipt type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></scr" + "ipt>");
//]]>
</script>
LATEST JQUERY LIBRARY


.JS: FACEBOOKS

<div id='fb-root'/>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : 'FACEBOOK-APPS-ID',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};
(function() {
var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
GET FACEBOOK APP'S ID


EXAMPLE OF DIFFERENT RULES OF JAVASCRIPTS

<script async='async' src='http://my.js' type='text/javascript'/>
<script defer='defer' src='http://my.js' type='text/javascript'/>
<script explicit='explicit' src='http://my.js' type='text/javascript'/>
<script async='async' defer='defer' src='http://my.js' type='text/javascript'/>






Rebates Bonus
Exclusive Rebate

Sign up today and be the first to get notified on new updates.


LOAD DISCUSSION