• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is Raw DOM Objects in Jquery?

 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Raw DOM Objects in Jquery?.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No idea. Need more context to properly contemplate the question. Where did you see this term? How was it used in context?

The only thing I can guess is that it would refer to DOM elements not wrapped by a jQuery wrapped set.
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect he means $('#myelement')[0].
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or any other way to get to the unwrapped element -- that was my suspicion as well.
 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heard it from one of my Collegues are DOM Object and Jquery Objects different?
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, jQuery objects usually wrap DOM objects to provide convenient cross-browser compatible functionality.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "jQuery object" is a wrapper that is created by calling the jQuery (or $) function with a selector, and "wraps" the selected DOM elements. The wrapper provides methods that operate on the DOM elements inside the wrapper.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic