JQUERY detect version ie browser jquery - Net-Raft.com

Welcome aboard! We are happy you are here and wish you good net-raft!




Just a Web Code Solution
join us

How to detect the version of IE browser using jquery ?


 2102

Show ResultJQUERY


5

<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.3.min.js" type="text/javascript"></script>
</head>
<body>

<p></p>

<script type="text/javascript">

$(document).ready(function(){

var ua = window.navigator.userAgent;

var msie = ua.indexOf('MSIE ');
if (msie > 0) {
$("p").text("IE10 or older");
}

var trident = ua.indexOf('Trident/');
if (trident > 0) {
var rv = ua.indexOf('rv:');
$("p").text("IE11");
}

var edge = ua.indexOf('Edge/');
if (edge > 0) {
$("p").text("IE12+");
}


});

</script>

</body>
</html>


By        
The power of the user (%)
79%



The most helpful JQUERY solutions

plugin get client ip address using jqueryplugin get client ip address using jqueryJQUERY

Click to see more ...

  8.8K     1.8K

How to get client machine name or computer name with jquery?How to get client machine name or computer name with jquery?JQUERY

Click to see more ...

  11K     792

plugin detect country jqueryplugin detect country jqueryJQUERY

Click to see more ...

  4.6K     772

cookie jquerycookie jqueryJQUERY

Click to see more ...

  3.1K     411

plugin convert thousands to K jqueryplugin convert thousands to K jqueryJQUERY

Click to see more ...

  2.8K     402

show position on google map jqueryshow position on google map jqueryJQUERY

Click to see more ...

  2.1K     389

how to create a jquery plugin for converting date to days ago, month ago and year ago ?how to create a jquery plugin for converting date to days ago, month ago and year ago ?JQUERY

Click to see more ...

  2.2K     347

How to detect the version of IE browser using jquery ?How to detect the version of IE browser using jquery ?JQUERY

Click to see more ...

  2.1K     338

How to get top, right, left, bottom position of element div using jquery ?How to get top, right, left, bottom position of element div using jquery ?JQUERY

Click to see more ...

  2.1K     296

how to get ip address using jquery ?how to get ip address using jquery ?JQUERY

Click to see more ...

  1.9K     279

Welcome aboard!
We are happy you are here and
wish you good net-raft!