Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes What is Raw DOM Objects in Jquery? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What is Raw DOM Objects in Jquery?" Watch "What is Raw DOM Objects in Jquery?" New topic
Author

What is Raw DOM Objects in Jquery?

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055

What is Raw DOM Objects in Jquery?.


http://www.lifesbizzare.blogspot.com || OCJP:81%
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

I suspect he means $('#myelement')[0].


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

Or any other way to get to the unwrapped element -- that was my suspicion as well.
Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055

I heard it from one of my Collegues are DOM Object and Jquery Objects different?
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

Yes, jQuery objects usually wrap DOM objects to provide convenient cross-browser compatible functionality.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What is Raw DOM Objects in Jquery?
 
Similar Threads
Retrieve id element by index
Auto Refresh Table in JSP
jQuery question
Any hint of JQuery on struts2 tutorial, thanks!
Confused on Client Side Track