What does it mean $("html")?
$("html")
i.e. $("html").scrollTop(0);
$("html").scrollTop(0);
This means selecting an item <html>on the page and scrolling from top to top. Since this is the very top of the document, you scroll completely through the browser.
<html>
$("html")selects all elements of the type html. And this is the root element in HTML. The same can be done with $(document) or $(document.documentElement).
html
$(document)
$(document.documentElement)
Source: https://habr.com/ru/post/1734684/More articles:Get MySQL data without server stress - databaseProblem with uiwebview session - iphoneHow can I create an object to represent all elements of an HTML form? - htmlHow to mark a line in a file? - javaHow to convert ASCII string to UTF8 string in C ++? - c ++How can I set template information for files created by catal.pl? - perlCopying a dictionary in a dictionary (nested dictionary) - pythonUsing a jersey client inside an EJB-3 session of standless beans on Weblogic - javaCorruption heap and F12 problems - c ++Проблемы с фоновым рабочим столом и таблицей данных - c#All Articles