$("html").animate({"scrollTop":0},"slow"); 

Scrolling up in Chrome on the click() event does not work. Only in chrome.

  • Maybe it's in the click () event, just scrolling in chrome works? - Indev
  • yes no, there are several actions attached to this event, the rest is working ... maybe I don’t like the selected element html I will experiment tomorrow - Setevoi

1 answer 1

 $('html,body').animate({'scrollTop':0},'slow'); 
  • Yes! thanks so works. - Setevoi 7:42 pm