helper option in sortable()
Can someone explain the use of the helper option inside sortable
$("#foo").sortable({
helper: something
});
It sounds like to me its defining what to use in the display of the
item being dragged around while sorted. It sounded like it wants a
function that returns a DOM element, but
function(e,el) {
return $("#myHelper").get(0);
}
keeps throwing
Error: [Exception... "Could not convert JavaScript argument arg 0
[nsIDOMViewCSS.getComputedStyle]" nsresult: "0x80570009
(NS_ERROR_XPC_BAD_CONVERT_JS)"
Can anyone elaborate on the rather sparse documentation?