$(document).ready(function() {

  // Add class to all inputs (input's type attribute value)
  $('input').each(function() {$(this).addClass(this.type)});
  
  // put all your jQuery code here
});
$(document).ready(function() {

  // Add class to all inputs (input's type attribute value)
  $('input').each(function() {$(this).addClass(this.type)});

  // put all your jQuery code here

});
Add class to all inputs
Add class to all inputs
