Skip to main content

Compare and contrast the use of CSS advanced selectors in jQuery and jQuery’s DOM traversal API, indicating the pros and cons of them.


  • J Query provides API to traverse through the DOM
  • These DOM navigating APIs are faster than advanced CSS selectors
  • Can navigate through the DOM, element by element
  • Can use DOM element objects.

Comments