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