JQuery
When using jQuery (or any other JavaScript library for that matter), have you ever wondered how to test whether an element exists using a selector?
if ($("#mydiv").length > 0){ // do something here }
Do not use:
$jq('#customsort_EC').ready(function(e)
but in documentation mantioned the selector has not effect for ready(). ….
Mar 18, 2012
comments powered by Disqus