Answers for "Best way to execute js only on specific page"

0

Best way to execute js only on specific page

$(function(){
  if($('body').is('.PageType')){
    //add dynamic script tag  using createElement()
    OR
    //call specific functions
  }
});
Posted by: Guest on August-11-2021

Code answers related to "Best way to execute js only on specific page"

Code answers related to "Javascript"

Browse Popular Code Answers by Language