This is my code:
$("#btnAssignVendor").on("click", function (e) {
$(".modal-body").html('');
$('.modal').modal({ backdrop: 'static', keyboard: false }, 'show');
return false;
});
When clicking on button modal pop is open but the initial blank white page is opening. Instead of that initial i need to load loader image. May i know how to do that.
please help asap

Salman BegRank #284 · 8.8K reputationPosted Jan 28, 2019, 4:10 PM EST