Puja Aggarwal

Puja Aggarwal

  • NA
  • 291
  • 9k

Advantage of Jquery over plain javascript?

Dec 9 2020 5:41 AM
i have this query
  1. document.getElementById( "txtName" );  
  2.   
  3. or  
  4.   
  5. $( "#txtName" );  
which one is preferred? 

Answers (2)