Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //jQuery if id exist then execute what I want
- if(document.getElementById("idName")) {
- //Execute the code
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement