Hello,
I have page for which I want to load different .tpl for different browsers.
I found this code to include external files using Jquery.
$.getScript("1.js",function() {
//this script is loaded
});
I want to make above code conditional based on browsers for Example
if($.browser.msie)
$.getScript("1.tpl",function() {
//this includes external file - 1.tpl
}else{
$.getScript("2.tpl",function() {
//for other browser includes external file - 2.tpl
I am not javascript coder ... Can anyboby make this work ?
Thanks,
- Mandar