Its better to detect features not browsers; that said detecting a single browser such as ie6 I would use conditional comments feeling assured that the code is not interfering with other bits http://www.sitepoint.com/forums/showthread.php?t=455334
2009/2/25 Liam Potter <radioactiv...@gmail.com> > > ok, lets say I wanted to target IE6 only, how would I do that with support? > > > Aaron Gundel wrote: > >> http://docs.jquery.com/Utilities/jQuery.support >> >> jQuery now uses feature detection. There are some good links to >> explain in the post above. It is still possible to detect which >> browser is being used (plain old js) but jQuery support will probably >> be removed at some point in the future. >> >> On Wed, Feb 25, 2009 at 5:23 AM, Liam Potter <radioactiv...@gmail.com> >> wrote: >> >> >>> I thought this as well, $.browser still works, as many plugins use it, >>> but >>> I'm interested in what we should be using. >>> >>> fambi wrote: >>> >>> >>>> Having just upgraded to 1.3.2, I've realised that the $.browser >>>> utility has been deprecated. >>>> >>>> Does this mean it is no longer possible to identify which browser is >>>> being used? >>>> >>>> >>>> >>>