call a function when page is loaded 1

call a function when page is loaded


Here is what the above code is Doing:
1. The first line is a standard HTML script tag.
2. The second line is a jQuery function that waits for the document to be ready before running the code inside the function.
3. The third line is a function that you can call from anywhere in your code.

Similar Posts