Javascript examples for jQuery:Document
javascript document ready function
<html> <head> <title>My Site</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function () {//from w w w . j a v a 2s .c om window.alert("function started"); }); </script> </head> <body> </body> </html>