How can I convert a DOM node to a jQuery object? I am using a javascript library that is returning a DOM node. I don't know any of its properties. I want to convert it to a jQuery object so that I can work with it.
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
Recommended Answers
Jump to Posthi Queen,
Convert DOM object to jQuery object is made by attaching it in a selector
- .jquery,.context,.length,.selector these are some properties of jQuery object.
jQuery Objects that are return or created by jQuery()
.Every DOM object is a Node.(except one or two or more).
- The DOM object is the …
All 2 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.