For smart Primates & ROBOTS (oh and ALIENS ).

Blogroll

Tuesday, February 07, 2017

How to avoid conflict with other JavaScript

How to avoid conflict with other JavaScript

To avoid conflict with other javascript code we should use closure. 
Example is listed below:

 (function(){
    //  Paste here JavaScript here
    })();

 

Share:

0 comments:

Post a Comment

How to make center align child div

 How to make center align child div?   Suppose you have 2 Div tag. And want the make inner tag center <div id="d1">      ...

Ads Inside Post

Powered by Blogger.

Arsip