jquery how to run a function on page load code example Example: call a function on load jquery $(document).ready(function () { // Function code here. });