I have an input element inside a draggable div. My code should do the following things:
$('.draggable input').click(function() { $(this).focus(); });
The input field is now editable, and you can still drag the whole div from the input field. JSFiddle.