Thursday, 12 September 2013

why we are using $(document) instead of $("document") in jquery?

why we are using $(document) instead of $("document") in jquery?

in Jquery,
to select a div, we use $("div"). div is enclosed with quote symbols.
but why we are always using $(document) instead of $("document")?.
what is the reason?
Thanks in advance.

No comments:

Post a Comment