How can I convert a DOM element to a jQuery element?
Posted
by Tanmoy
on Stack Overflow
See other posts from Stack Overflow
or by Tanmoy
Published on 2009-03-09T11:56:52Z
Indexed on
2010/04/02
8:23 UTC
Read the original article
Hit count: 173
jQuery
I am creating an element with document.createElement(). Now how can I pass it to a function that only takes a Jquery object?
$("#id")
I can not use it, as the element has not been rendered in the page yet.
© Stack Overflow or respective owner