i wanna use jquery ui transfer to hide an element.
i got an div.click and a span.target. i want the div to be moved to the span when clicked.
i tried this code:
$("div.click").live('click', function () {
var i = 1 - $("div.click").index(this);
$(this).effect("transfer", { to: $("span.target").eq(i) }, 1000);
});
but nothing happens.
in their demo i downloaded it said that transfer is an option of "hide". but on their site it says its an option of "effect".
could someone help me understand how to use this?