/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if ($("#myElement").length > 0){ // do this }