Hello friends I do not want my site to be displayed in ie11 or older browser!
I used the following code:
$(document).ready(function(){
if
(navigator.userAgent.match(/msie/i) || navigator.userAgent.match(/trident/i) ){
$("div").hide();
$("body").text("used chrome ");
}
});
But such code does not work in ie 11 browser. Please guide me and find my fault code..