How to check if an element is droppable, draggable or other ‘ble’?
You could also use jQuery data() like this.. if ($(elem).data(‘draggable’)) { alert(“yes”); } else { alert(“no”); } if ($(elem).data(‘fooable’)) { alert(“yes”); } else { alert(“no”); } See it here: http://bootply.com/60153