Advertisement
afsarwebdev

Js function load if it's exist on current page

Jul 4th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. /*Js function load if it's exist on current page*/
  2. if ($.fn.FUNCTION-NAME) {
  3. //You code
  4. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement