/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if ( $('#myDiv').length ) { // do something with myDiv }
URL: http://eisabainyo.net/weblog/2010/09/01/10-useful-jquery-snippets/
if ( $('#myDiv').length ) { // do something with myDiv }
URL: http://eisabainyo.net/weblog/2010/09/01/10-useful-jquery-snippets/