Which of the two lines of code below is more efficient? Explain your answer.

document.getElementById( "logo" );

or

$( "#logo" );

Experience Level: Medior
Tags: jQuery

Answer

Oops, we don't have the answer yet...

Ask our expert directly

Comments

No Comments Yet.
Be the first to tell us what you think.