Is there any difference between: $(document) and $(\"document\")?
$(document)
$(\"document\")
EDIT: also when into the .ready() e.g. $(\"document\")
.ready()
document is a pre-made global variable that is the representation of the current HTML document, short for window.document.
document
window.document
$("document"), as @BoltClock pointed out, would be using that string as a selector for a element.
$("document")