which of these are more efficient?

document.getElementById( "elementId" ); or $( "#elementId" );

Your Answer

Efficient in the sense $( "#elementId" ).  But for acheiving this you need to include jquery library files. But for document.getElementById( "elementId" ); you no need any library function. Current browsers will support Js with out including any external libraries.

Jquery

Didn't get the answer.
Contact people of Talent-Jquery directly by clicking here