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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -