jQuery UI dialog dragStart Event
jQuery UI dragStart() event is triggered when the dialog box is started to be dragged. Syntax: $(".selector").dialog ( dragStart: function( event, ui ) { console.log('dragged') }, Approach: First, add jQuery UI scripts needed for your project. <link href = "https://code.jquery.com/ui/1.10.4/theme