'cancel' attribute in draggable() call
$('#divElement').draggable({
helper: 'original',
opacity: .5,
//handle: $('.block').children()[0],
cancel: [''],
grid: [50,50],
snap: true,
snapMode: 'both',
containment: $('#canvas')
});
I am trying to move around HTML elements, like textbox, textarea etc.
I want the user to be able to drag the element by holding on to
anywhere on the element, rather than just the div border.
The 'cancel' attribute, when turned off is supposed to do this. But
this is not happening.
Any help appreciated.