Revision: 23888
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at February 16, 2010 13:35 by matthalliday
                            
                            Initial Code
$('input').each(function() {
    var inputType = $(this).attr('type');   
    $(this).addClass(inputType);
  });
                                Initial URL
Initial Description
Initial Title
Gives all inputs a class name of their type
Initial Tags
form
Initial Language
jQuery