Which is more Efficient HTML DOM or JQuery

Posted by Quasar the space thing on Stack Overflow See other posts from Stack Overflow or by Quasar the space thing
Published on 2012-11-20T10:49:30Z Indexed on 2012/11/20 11:02 UTC
Read the original article Hit count: 349

Filed under:
|
|

I am trying to add new Elements in an HTML page body by using document.createElement via Javascript, I am doing this with few if/else case and function callings. All is working fine.
Recently I came to know that I can do this with JQuery, too. I have not done too much of coding yet so I was wondering which way is the best in terms of efficiency ? Using native DOM methods or using JQuery to add elements dynamically on the page?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html