When we use window.close() it works in IE,but in Chrome and Firefox following error comes
Scripts may not close windows that were not opened by script
Is there any workaround in MVC to close browser on button click
Know the answer? Post it. Somebody with the same question will find it here.
Pappu Dewangan5 reputationPosted Feb 29, 2016, 8:11 PM EST
Rajeev PunhaniRank #551 · 4.4K reputationPosted Feb 29, 2016, 8:23 PM EST
Hi Pappu,
please add this
Pappu Dewangan5 reputationPosted Feb 29, 2016, 9:06 PM EST
Rajeev PunhaniRank #551 · 4.4K reputationPosted Feb 29, 2016, 7:05 PM EST
Hi Pappu,
Please try the below script.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts