Comments (4)
+1
from sweetalert.
That's because IE8 has no support for Array indexof. I suggest to add polyfill.
from sweetalert.
Yeah. indexOf is needed.
Even though I add es5shim to the example page, there are some errors:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)
Timestamp: Sat, 4 Oct 2014 05:47:24 UTC
Message: Object expected
Line: 79
Char: 7
Code: 0
URI: http://172.22.31.101:8000/lib/sweet-alert.js
Message: Object doesn't support this property or method
Line: 242
Char: 2
Code: 0
URI: http://172.22.31.101:8000/example/
Because IE 8 does not support getComputedStyle
:(
from sweetalert.
IE 8 is not a supported browser for the component, as stated in issue #6
from sweetalert.
Related Issues (20)
- Failure to install Sweetalert React package HOT 2
- Avoid serving legacy JavaScript to modern browsers
- Submit button brings sweetalert popup without saving data in the database
- I think it's because you're binding an action to "onsubmit" which will by default redirect from the page you're on. Try removing the `onsubmit=` part in your HTML and add this to your JavaScript instead (using jQuery):
- How to prevent a toast (from sweet alert 2) from being closed HOT 1
- Links?
- const swal: SweetAlert; HOT 1
- text break line HOT 1
- How to apply different .swal-overlay for different swal??? HOT 1
- How to center swal-button HOT 1
- Can not Change Color of Pop-Up button HOT 2
- How do we add javascript objects in the sweetalert text HOT 1
- LMS joomla
- Margin Top problems
- @1234
- Link in text
- Typescript error
- Getting the instance of the current swal to change it's text dynamically?
- Unpkg sweetalert unavalable
- Alert with only an icon and title is missing bottom spacing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sweetalert.