LoginSignup
4
4

More than 5 years have passed since last update.

JavaScriptでIEのバージョン処理を別ける方法

Last updated at Posted at 2014-02-28
var ua = navigator.userAgent;
if (ua.match(/msie [6-9]./i)) {
  //IE6〜9でやりたい処理を書く
}

IE11では使えない

4
4
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4