/ Published in: JavaScript
Archivo javascript (añadir mediante comentarios condicionales para IE) para añadir clases a algunos elementos y poder acceder a ellos vía CSS. (con jQuery)
Expand |
Embed | Plain Text
$(fixIE); function fixIE(){ $(':input[type]').each(function(){ $(this).addClass($(this).attr('type')); }); $('li:first, td:first',$('ul, ol, tr')).addClass('first'); };
You need to login to post a comment.
