I would like to have two separate Javascript files. One for IE and one for all other browsers. How can I do it?
<!--[if IE]> <script type="text/javascript" src="js/ie.js"></script> <![endif]--> <!--[if ALL OTHER BROWSERS THAN IE]> <script type="text/javascript" src="js/all.js"></script> <![endif]-->
<!--[if IE]> <script type="text/javascript" src="js/ie.js"></script> <![endif]--> <!--[if !IE]>--> <script type="text/javascript" src="js/all.js"></script> <!--<![endif]-->
$.getScript("js/" + ($.browser.msie ? "ie.js" : "all.js"));
That should be all you need to do.
Source: https://habr.com/ru/post/1344927/More articles:Membership / Authorization through REST - securityidn_to_ascii () in 5.2.17 - phpPortlets, HttpSession, and Thread Safety - javaasp.net method call from interface - c #How to deploy gSOAP web service in Ubuntu? - web-servicesHow to create your own CSS using ASP.NET MVC? - cssHow to stop headings on Android tabs from wrapping in the middle of a word? - androidDo helper functions in NuGet init.ps1 packages be global? - powershellHelp with exception in sleep mode - javaHow to access grailsApplication.config from groovy class? - grailsAll Articles