In a condition I want to do something based on browser, as some of things are not working in IE, I would like to do something except for the Chrome.
Like below, I have siple click event and showing DIV, but instead in
$('.testBtn').click(function(){
//for Chrome only
$(".divContent").show();
//for IE and Mozilla
$(".divContent").show(
function(){
//do something
});
});
<div class="divContent" style="display:none">
This is Test content
</div>
How do I do this?