判断ie,并确定其版本号

var UA = navigator.userAgent,
isIE = UA.indexOf('MSIE') > -1,
v = isIE ? /\d+/.exec(UA.split(';')[1]) : 'no ie';

posted @ 2013-09-05 13:56  hechunhua  阅读(168)  评论(0编辑  收藏  举报