jQuery Basics Tutorial

jQuery is an upcoming/hot thing right now when it comes to web development. To me jQuery is slowly taking over flash. There are lots of things I can do in jQuery that I would have programmed in flash for. Before you kill the messenger there are things out there that flash can do that jQuery can’t. So let me post the source code for the tutorial and below that you can watch in video as I explain.


  
      jQuery Basics Tutorial
        http://jquery-1.4.2.min.js
        
          $(document).ready(function() {
              $('#employees tbody tr:odd').addClass('alternaterow');
              $('#employees tbody tr:odd').removeClass('alternaterow');

              $('#hideButton').click(function() {
                  $('#employees').hide();
              });

              $('#toggleButton').click(function() {
                  $('#employees').toggle();
              })
          });
        
        
          .alternaterow
          {
              background-color: #ccc;
          }
        
    
    
        
        
        
John Smith Developer
Greg Smith Owner
Michelle Smith Web Developer
Scott Smith IT Administrator
Michelle Smith Web Developer

[embedyt] http://www.youtube.com/watch?v=2CuTHpeeicg%5B/embedyt%5D

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s