HLRosenberger
asked on
disable a page
Upon clicking a submit button, I want to disable an entire page. it's a modal dialog. Is there is easy way to do this?
what do you mean with "disable" ... invisible ? overlayed ? unclickable ? ...
If there is not any other special effect expected ,you can use any of usage from here :http://jquery.malsup.com/block/#demos
ASKER
unclickable. prevent the user from interacting with the page.
<script src="https://github.com/malsup/blockui/raw/master/jquery.blockUI.js" type="text/javascript"></s cript>
and
$(document).ready(function () {
$('#demo7').click(function () {
$.blockUI({ message: null });
setTimeout($.unblockUI, 9000000);
});
});
and
$(document).ready(function
$('#demo7').click(function
$.blockUI({ message: null });
setTimeout($.unblockUI, 9000000);
});
});
ASKER
So, are saying put this script behind the click of my save button?
$(document).ready(function () {
$('#demo7').click(function () {
$.blockUI({ message: null });
setTimeout($.unblockUI, 9000000);
});
});
$(document).ready(function
$('#demo7').click(function
$.blockUI({ message: null });
setTimeout($.unblockUI, 9000000);
});
});
ASKER
Also, the link talks about JQuery. I'm not using JQuery.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This will work but I was looking for something easy..