jQuery.browser is deprecated in 1.3 + (don't use it). JQuery now uses feature detection. This is a more extensible way of detecting which browser is being utilized.
See the following page for more details... http://docs.jquery.com/Utilities/jQuery.support On Mon, Feb 9, 2009 at 4:02 AM, Mohd.Tareq <tareq.m...@gmail.com> wrote: > > Hi Geuis, > > Ther is a function with alias ($.browser) it will gives u functionality to > identify browser name > like this $.browser.mozilla , $.browser.msie , $.browser.opera , > $.browser.safari. > & if u wana return the version of browser , then u have use below function > $.browser.version it will return version of current browser according to ur > problem ie6 u can add css on the fly. > > hope this will work . > > cheers & cioa > > > On Mon, Feb 9, 2009 at 11:47 AM, Geuis <geuis.te...@gmail.com> wrote: >> >> I'm working on a project where I need to detect if the browser >> natively supports a given CSS selector. >> >> For example, if I am using the selector 'ul li:first-child', this is >> supported by IE7, FF, and Safari but not by IE6 and below. Is there a >> way that I can test that selector to see if the current browser >> supports it? A feature that returns a simple boolean status would be >> awesome. > > > -- > ---| Regard |--- > > Mohd.Tareque >