The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › loading effect when page refresh during payment. ?
I am doing like this, can any one please tell me am i right?, if not suggest me the correct code.
$(‘#placeorder’).click(function () {
/// validation for form ….
$(window).on(‘beforeunload’, function(e){ $(‘.ajaxloader’).show(); $(‘body’).css(“overflow-y”, “hidden”); }); });