Possible Duplicate:
document.getElementById vs jQuery
I am learning jQuery and javascript.
I wonder why the
$()
function of jQuery does not replace thedocument.getElementById()
function of javascript.Isn't it the role of
$()
?If not, what's the role of
$()
?
I got to this question because $().outerHeight
doesn't work.
Thank you.