The pure Javascript equivalent to
$(window).load(function() { // Your code goes here! })
is
window.addEventListener("load", function() { // Your code goes here! });
Note that it’s not supported by IE8, but that should not be an issue in 2019.
The pure Javascript equivalent to
$(window).load(function() { // Your code goes here! })
is
window.addEventListener("load", function() { // Your code goes here! });
Note that it’s not supported by IE8, but that should not be an issue in 2019.
…
is the HTML entity code for the ellipsis dots:
…
If you see it on a webpage outside the HTML source code, it usually means that the author or content management system has encoded the HTML entity incorrectly. You should only ever see …
on the page except in literal HTML sourcecode.
I recommend using the unicode character HORIZONTAL ELLIPSIS (see the code block above) instead of the HTML entity …
. Ensure that you have
<meta charset="utf-8" />
in your HTML <head>
for compatibility.