how to check the browser $.browser.mozilla is not working , Even IE returns true for this
Asked
Active
Viewed 191 times
2
-
check this: http://pupunzi.open-lab.com/2013/01/16/jquery-1-9-is-out-and-browser-has-been-removed-a-fast-workaround/ – Aru Jan 27 '15 at 07:30
-
You may want to consider doing feature detection instead - see here: http://stackoverflow.com/questions/1294586/browser-detection-versus-feature-detection – Chase Jan 27 '15 at 07:31
-
try this: http://code.jquery.com/jquery-migrate-1.2.1.min.js – Aru Jan 27 '15 at 07:31
1 Answers
0
You need to include the jQuery browser plugin for the above code to work. The detailed documentation is available here
After this you can simply use
$.browser.name
to get the name of the browser.

marc_s
- 732,580
- 175
- 1,330
- 1,459

Kaustav Banerjee
- 275
- 1
- 10
-
@Banarjee , Tq It worked for me , We Can get Versions Using **$.browser.version** – Arjun Jan 27 '15 at 10:09