Being a pragmatic coder I tend to miss some obvious things and I wonder, What\'s the difference between
$(\'loc\') $(\'#loc\')
The more info th
$('loc') is an element selector, looking for elements.
$('loc')
$('#loc') is an #id selector, looking for id="loc" elements.
$('#loc')
id="loc"
Think CSS when looking at almost all jQuery selectors, they're very close if not identical in most cases.