HTMLGuyLLC / jAlert

jQuery alert/modal/lightbox plugin
https://htmlguyllc.github.io/jAlert/
MIT License
76 stars 35 forks source link

something wrong in version IE10 or above #51

Closed hornweitse closed 6 years ago

hornweitse commented 6 years ago

hello, I encountered a strange problem. my IE version is IE11, the jAlert is working well. but if i use the simulator to simulate other version(IE10 or above) the jAlert will work, but the window will exchange to the other window. but...when i use alt+tab to check the order. The IE is still the first pick. Can you please check this! Thank you very much!

----------------------------------Here is my code ---------------------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="ServerTest.WebForm3" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10" /> <title>Test</title> <link href="Content/jAlert.css" rel="stylesheet" /> <script src="Scripts/jquery-1.11.3.min.js"></script> <script src="Scripts/jAlert-functions.min.js"></script> <script src="Scripts/jAlert.min.js"></script> <script> function test(event) { event.preventDefault(); $.jAlert({ 'title': '123', 'content': 'test', 'theme': 'red', 'btns': { 'text': '確定', 'theme': 'red', } }); } </script> </head> <body> <form id="form1" runat="server"> <asp:Button ID="Button2" runat="server" Text="Button1" OnClientClick="test(event)" /> </form> </body> </html>