I have an input element inside a draggable div. My code should do the following things:
You could try adding the contenteditable attribute to your div:
contenteditable
HTML
JQuery
$(".draggable").draggable() .click(function() { $(this).draggable( {disabled: false}); }).dblclick(function() { $(this).draggable({ disabled: true }); });
JSFiddle