1.<script type="text/javascript"> $(document).ready(function () { alert("hello"); }) </script> 2.<script type="text/javascript"> $(function () { alert("hello"); }) </script> 3.<script type="text/javascript"> jQuery.ready(function () { alert("hello"); }) </script> 4.<script type="text/javascript"> jQuery(function () { alert("hello"); }) </script>