It's best to handle on the client side if you can. The easiest is an IE 
conditional comment:

  <!--[if IE]>
    put some JS here that makes changes for IE -- it will be run only in IE 
browsers
  <![endif]-->

You can also check via jQuery:

if (jQuery.browser.msie) {do something}

Finally, if you need to do something completely different on the server 
side, you can check for IE from within your web2py code via:

if request.user_agent().browser.name == 'Microsoft Internet Explorer':

Anthony

On Sunday, December 4, 2011 10:55:56 PM UTC-5, Constantine Vasil wrote:
>
> For the record - this was only an issue for IE desktop. I had to switch 
> off ajax in jQuery and now it works.
>
> That means I have to make two different templates - one for IE, and one 
> for everything else.
>
> Does web2py has a function to recognize if the browser is any IE browser?
>

Reply via email to