Ive tried anything to do this, but always get the same error
$(\".tooltip\").draggable(\'disable\');
Error: cannot call methods on draggabl
Use one button to enable and disable
$("#container").draggable({disabled:false}); $("#container").draggable({disabled:true});
Simple Example Given Below: