jQuery Window

Bind to the moved event by type: jqxWindow. Author: http://jqwidgets.com

by jqwidgets

HTML

<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxwindow'>
    <div>Header</div>
    <div>Content</div>
</div>
<div id="log"></div>

JavaScript

$('#jqxwindow').jqxWindow({
    theme: 'energyblue',autoOpen: false
});

$('#jqxwindow').on('open', function (event) {
$("#log").html("You  opened the window")
});
$('#jqxwindow').on('moved', function (event) {
$("#log").html("You  moved the window")
});

$('#jqxwindow').jqxWindow('open');