I would like to load different web page depending on browser. for example
I have internetexp.aspx and chrome.aspx.
if user browser is chrome it should load chorme.aspx page if other then chrome browser it should load internetexp.aspx.
how can i achieve this?
Loading

Joginder BangerRank #360 · 7K reputationPosted Mar 31, 2015, 9:51 AM EDT
like below.
if($.browser.chrome)
{ //set you page here. }
else if ($.browser.mozilla)
{//set you page here. }
else if ($.browser.msie)
{ //set you page here.}
Raghu Rao5 reputationPosted Mar 31, 2015, 11:42 AM EDT
Joginder BangerRank #360 · 7K reputationPosted Mar 31, 2015, 11:47 AM EDT
Raghu Rao5 reputationPosted Mar 31, 2015, 12:51 PM EDT
we do have HTML5 elements in our aspx page. the same page we though to redirect depending on browsers but instead we are going in another approach that using conditional formatting in page it self like
if browser is IE and version is less then 9 then execute the below code\script ( for example)
if the browser is above 10 then execute the below code\script ( for example)
// my html code\script goes here , this will target only ie versions above 10
i know this is something different which i asked previously but this is going to fulfill my requirement.
i will also plan to implement the jquery logic as well , i will keep u posted.
thanks for your time. if you have jquery logic example that would be helpful for me.
once again thanks.
Joginder BangerRank #360 · 7K reputationPosted Mar 31, 2015, 1:08 PM EDT
Thanks for sharing your knowledge. it's really help me if face requirement in future.
-jsb