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

document.getElementById( "logo" );

or

$( "#logo" );

Experience Level: Not defined
Tags: jQuery

Answer

Comments

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