批量修改标签css样式以input标签为例

$("input[style]").each(function(){
        $(this).css("border-width","1");
        $(this).css("background-color","#A9A9A9");
    });