I have certain functionality that I want to run only if respondent is using IE 9 or above, please suggest how can I do this in jQuery.
Thanks
I have certain functionality that I want to run only if respondent is using IE 9 or above, please suggest how can I do this in jQuery.
Thanks
the feature to detect browser info through jquery by using $.browser
has been deprecated(in version 1.3) and removed(in version 1.9) .However you can simply use html to do this.
<!--[if gt IE 8]>
<script type="text/javascript">
//script for ie9 and above
</script>
<![endif]-->
Good practice is to use feature detection instead of browser detection
In this way you look if the browser can handle the specific case, and then use that functionality