当我第一次单击此#btnRequestedProviderSelect
按钮时,引导程序模式未显示弹出窗口。但是我第二次点击它会为什么?
$("#btnRequestedProviderSelect").click(function () {
$("#hdnORProvider").val('Requested');
$.ajax({
type: "Get",
async: false,
url: settings.ProviderSearchPopupURL,
data: {
coverageID: 0,
fromPage: settings.Frompage, HPID: $('#MemberHealthPlanID').val(),
LOBID: $("#MemberLOBID").val(), IPAID: $("#MemberIPAID").val()
},
success: function (data) {
$("#divProviderSearch").html(data);
$("#divProviderSearchPopup").modal();
$('#divProviderSearchPopup').modal({
keyboard: false
});
$('#divProviderSearchPopup').modal('show');
}
});
});
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>