This article mainly introduces the relevant information on how to deal with the incompatibility of javascript checkbox/radio onchange with ie8. Friends who need it can refer to the solution of the incompatibility of javascript checkbox/radio onchange with ie8. Under ie8, the onchange of the checkbox cannot be triggered. Custom function, how to solve this problem is as follows: function forIe(){ If ($. BrowSer.msie) {// Judging whether the browser is IE $("input[type='checkbox']").click(function(){ this.blur(); //
1. Summary How to deal with javascript checkbox/radio onchange incompatible with ie8 change
Introduction: This article mainly introduces the relevant information on how to deal with the incompatibility of javascript checkbox/radio onchange with ie8. Friends in need can refer to it
2. Recommend 10 binding event examples
## Introduction: This article The article mainly introduces the relevant knowledge of js binding events and unbinding events. Has very good reference value. Let's take a look at it with the editor. Binding multiple events in js uses two methods: attachEvent and addEventListener, but there are differences between these two methods. The attachEvent method only supports IE678 and is not compatible with other browsers. Device addEventListener method Compatible with Firefox and Google, not compatible with IE8 and below addEven...
##3.Solution to the problem of opacity not being compatible with IE8
Introduction: When testing the project today, I found that the opacity attribute is not compatible with ie8. Finally, I checked online and found that using the following attributes can It’s solved, I’m very happy!
4.
pace.js – Web page automatic loading progress bar plug-in
Introduction: Introduce Pace.js into the page, and the page will automatically monitor your requests (including Ajax requests). When the event loop lags, the loading status and progress will be recorded on the page. This plug-in has good compatibility and is compatible with all mainstream plug-ins above IE8. What’s more, its power is that you can also introduce the theme style of the loading progress bar. You can choose any color and multiple animation effects (such as simplicity, flash , MAC OSX, left padding, top padding, counter and bounce, etc. animation effects), if you are good at modifying CSS animations, then you can make unlimited possibilities of animations to add personalized features to your website!
5.
How to distinguish different IE versions in the style sheet? How to make the scroll bar color compatible with IE8 and IE10?
Introduction: How to distinguish different IE versions in style sheets? How to make the scroll bar color compatible with IE8 and IE10?6.
[Bootstrap] An audience portal style page compatible with IE8, Google and other mainstream browsers_html/css_WEB-ITnose
Introduction: [Bootstrap] An audience portal style page compatible with IE8, Google and other mainstream browsers7.
[Bootstrap] An audience portal style page compatible with IE8, Google and other mainstream browsers Audience giant screen style page for mainstream browsers such as Google_html/css_WEB-ITnose
Introduction: [Bootstrap] An audience giant screen compatible with IE8, Google and other mainstream browsers Episode style page8.
rgba() is compatible with IE8_html/css_WEB-ITnose
Introduction: rgba() Compatible with IE89.
Server-Image upload preview+JS+HTML+PHP Introduction: I made a function to upload and preview images on the server. I used a JS, but it is not compatible with IE8. Please give me an example. I can not only preview the image but also know the size of the image. , because there is a size limit for uploading images, thank you #Introduction: I record the style of a checkbox here for everyone and for my convenience in the future. It has three states, default, hover and active, and tests it. However, it is perfectly compatible with IE8/9/10, FF, etc. Interested friends can refer to it. I hope it will be helpful to everyone [Related Q&A recommendations]: javascript - The upper left corner of the table is divided diagonally javascript - How to debug low-version IE browsers in the developer tools of IE F12? javascript - Problem with uploading files (iframe method) javascript - js code copied to the clipboard (requires compatibility with ie8+, firefox, chorme )
The above is the detailed content of 10 recommended articles about ie8 compatibility. For more information, please follow other related articles on the PHP Chinese website!