I have a pretty simple question.
Now that $.browser has been full removed from jQuery 1.9, how do I approach this problem:
var bodyelem = $("html,body");
if($.browser.safari) bodyelem = $("body")
bodyelem.animate({ scrollTop: 0 }, 'slow');
People recommend using $.support, modernizer or things like now that $.browser is gone. How do I detect support for a bug/feature where it won’t scroll if it is “html,body” as selector, but will if it is “body” only??
You can find quick workaround here
http://pupunzi.open-lab.com/2012/08/14/jquery-1-8-and-browser-detection/