0
I have a function that makes the dialog with draggable enabled but I need to be able to edit an input within this dialog. How do I make it so only this input is not inheriting the draggable from the parent dialog?
function to let draggable enabled:
function addDraggable(identifier, cancel) {
$('.'+identifier).parent().draggable({
cancel: cancel + ", :button"
});
focusInputText();
}
function that I did to be able to edit the input, it even works, but I can’t navigate through the input correctly:
function focusInputText() {
$( 'input[type=text].urlCam' ).click(function(event) {
event.preventDefault();
$( this ).focus();
});
}
Draggable from jQuery UI?
– Jéf Bueno
@LIN that’s right
– Isa