bind or live with option
bind or live with option
Hi,
I don't understand how to make some option and use bind() ou live().
If I write :
- $('.text').droppable({
hoverClass: "ui-state-hover",
accept: "#liste li",
drop: function( event, ui ) {
$(this).insertAtCaret(ui.draggable.text());
}
});
how to bind this droppable and conserve hoverclass or accept ??
I can only make :
- $('.text').bind('drop', function (..........
loose my options ? or i miss something ?
thank