Is jQuery ready : jQuery « jQuery « JavaScript DHTML






Is jQuery ready

  
<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){

      var $ = 'Hi!';
      jQuery(function($){
        alert('$ = '+ $);
      });
        });
    </script>

  </head>
  <body>
    <body>
        <p id="followMe">Follow me!</p>
    </body>
</html>

   
    
  








Related examples in the same category

1.If jQuery is installed and running
2.Adds two functions into the jQuery namespace.
3.Adds two plugin methods.
4.Create Text node from query list
5.Show the order in the jQuery object.
6.Pass array returned from jQuery to a function