jQuery dialog option draggable
Hallo all.
I got a problem with a div dialog.
It seems not possible to pass any options to the draggable option.
When i use the draggable api on a div I can pass an options list:
$("#div2drag").draggable({
containment : 'window'
});
but if I want to have a dialog draggable with the same option is not
possible
$("#div2drag").dialog({draggable:{containment : 'window'}})});
Is there any way to achieve this task.
Kind regards
Max