jquery - How to remove ui-draggable class from the Div element? -
i want remove ui-draggable
class div
element. not sure how 'ui-draggable' added class.
the .ui-draggable
class being added jquery ui, because you're using draggable widget or depends on it. removing classname manually presumably isn't working because jquery widget putting in place.
you shouldn't trying remove class; instead override undesirable styling putting rules on different classname attached same element.
(if you're trying disable dragging specific element, use $('div.foo').draggable( "disable" );
instead of removing classnames.)
Comments
Post a Comment