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
})();
Example is listed below:
(function(){
// Paste here JavaScript here
})();
0 comments:
Post a Comment