I know it still works in 1.3, just wondering why we are advised not to
use it.
Mauricio (Maujor) Samy Silva wrote:
Liam,
Quoting the documentation:
"It's important to note that jQuery.browser is still in jQuery - and
will be for the foreseeable future (too many plugins and pieces of
code depend on it)."
Read the full section at:
http://docs.jquery.com/Release:jQuery_1.3#No_More_Browser_Sniffing
MaurĂcio
-----Mensagem Original----- De: "Liam Potter" <radioactiv...@gmail.com>
Para: <jquery-en@googlegroups.com>
Enviada em: quinta-feira, 5 de fevereiro de 2009 07:23
Assunto: [jQuery] $.browser and jQuery 1.3
Why is this deprecated in 1.3?
I use a script using this, to add the browser name and version to the
body tag so I can apply css to those browsers without hacks.
Is there another way of doing this now, as I can't figure out how I
would do this with $.support.
- Liam