Example:
$(document).click(function() { blah });
// and
$(\'html\').click(function() { blah });
try to put out the innerHTML of both, whats the result? i reckon (but han't tested) that
document
is really the complete document, including
and all elements in ithtml
references the
-tag, so there will only be the
and
in your output, not the
-tag itselfbut: for your code (adding an click-handler) there would be no difference, because clicking into the document will always be a click on the (as long as you site is valid and has an
-tag)