Skip to content

Instantly share code, notes, and snippets.

@tedw
Created November 13, 2012 21:00
Show Gist options
  • Save tedw/4068358 to your computer and use it in GitHub Desktop.
Save tedw/4068358 to your computer and use it in GitHub Desktop.
IE Form Polyfills
$('input:text, input[type="text"]').addClass('input-text');
$('input[type="email"]').addClass('input-email');
$('input:checkbox, input:radio').addClass('input-check');
$('input[type="submit"]').addClass( 'input-submit' );
$('input[type="button"]').addClass( 'btn-submit' );
$('input[type="search"]').addClass('input-search');
$('input[type="email"]').addClass('input-email');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment