Friday 13 May 2016

Detect IE browser apply conditions

Detect IE browser apply conditions :
======================

All version of IE and(windows) OS support.


<script>
    if (window.ActiveXObject || "ActiveXObject" in window) {
        alert("IE")
    }

 else{
        alert('Non-IE');
     }
    </script>

No comments:

Post a Comment