returning a pure dom element from a jquery selection
Hi,
I have searched high and low to no avail.
How do you make jQuery return the same type of element as
getElementByID?
When jQuery returns an element it shows up as [object Object] in an
alert.
When getElementByID returns an element it shows up as [object
HTMLDivElement].
I want to call a javascript library call that works with the return
value from getElementByID but doesn't work with:
var thedoodad = $("#doodad");
Drag.init( thedoodad );
I can't get ui drag and drop to work properly between divs, to I'm
rolling my own.
Am I missing something?
Thanks,
ml