How & What of Modern Times!
-
How to Check on jQuery if a DOM Element Exists
Below is how you will able to know if a dom element exists 🙂 Quite simple! [javascript] if($("#dom").length > 0){ //dom exists }else{ //dom doesn’t exists } [/javascript]
Got any book recommendations?