in aspx page (WebForms) I have a JavaScript function that works only in Internet Explorer and not in Edge/Chrome.
This one:
function ChoosePharmacy()
{
var result = window.showModalDialog('search_pharmacy.aspx', window,"dialogWidth:800px;dialogHeight:600px;scroll: no;")
if (result != null)
document.getElementById('hIdPharmacy').value = result;
}
This should open a pop-up window (with an aspx page inside), but because is an old legacy application, works only in Internet Explore, and now that users have move to Edge, has stop working.
Do someone has idea why?
Thanks a lot in advance.
Luis

