admin管理员组文章数量:1431435
Remove listing bullets from the draggable element . when the element is dragged it is dragging it with the bullet so how can i remove that bullet.
here you can check my code - **
i want to remove the bullet when i am dragging the element and also after dropping element.
Remove listing bullets from the draggable element . when the element is dragged it is dragging it with the bullet so how can i remove that bullet.
here you can check my code - *http://jsfiddle/aNreg/197*
i want to remove the bullet when i am dragging the element and also after dropping element.
- also provide your code here – Patrick Evans Commented Sep 26, 2013 at 4:25
-
In jquery
$('.button-orange').parent().css('list-style-type','none');
In csslist-style-type:none'
jsfiddle/krish/aNreg/202 – Krish Commented Sep 26, 2013 at 4:29 - jsfiddle/aNreg/197 – Sanjay Rathod Commented Sep 26, 2013 at 4:32
3 Answers
Reset to default 10Add the rule
li.ui-draggable-dragging {
list-style:none;
}
Demo: Fiddle
The problem is since the draggable item is cloned the existing rule is not applied to it
Your css is too restrictive. If you use
li.third
instead of
.ui-widget-content ul li
that will solve your problem
Make the list style type none to your draggable element. like this
list-style:none;
本文标签: javascriptHow can i remove bullet from dragable elementStack Overflow
版权声明:本文标题:javascript - How can i remove bullet from dragable element? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745548070a2662799.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论