What does the selector syntax mean in this code? I\'ve seen selectors like div or #someId but I\'m confused what the
div
#someId
indicates that the div is a self closing div. It's basically shorthand for $('').
$('')
Any browser that supports XHTML supports the self-closing syntax on all elements.