I have this modal window:
HTML:
<div id="showEvents"><canvas id="event" width="32" height="32"></canvas></div>
JS:
$(document).ready(function () {
var dialog1 = $('<div>').dialog({ autoOpen: false,modal:true,
height: 400,
width: 450
});
$('#showEvents').click(function () {
dialog1.load('../Lists/Event.aspx').dialog('open');
});
});
now I want to show a spinner while loading. I found this question but I don't know where should I put my spinner image?