I use jquery v1.9.1 .I know that jquery.browser is removed in 1.9 but I have to use this. I using migration plugin for get type of browser. Its work fine but for IE(11) and firefox(25+) ,jquery.browser show same value("Mozilla").How to detect IE in $.browser?
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- How to store image outside of the website's ro
- Include empty value fields in jQuery .serialize()
That's because IE11 uses different User-Agent strings from previous versions and the old jQuery.browser is not aware of it. Actually it lies more than before:
you can use a more reliable tool like WhichBrowser.
Please refer below link, it might help you.
http://pupunzi.open-lab.com/2013/01/16/jquery-1-9-is-out-and-browser-has-been-removed-a-fast-workaround/
See Synthy answer from Stackoverflow