批量修改标签css样式以input标签为例
本节主要介绍了jquery如何批量修改标签css样式以input标签为例,需要的朋友可以参考下
$("input[style]").each(function(){ $(this).css("border-width","1"); $(this).css("background-color","#A9A9A9"); });
精彩图集
精彩文章
$("input[style]").each(function(){ $(this).css("border-width","1"); $(this).css("background-color","#A9A9A9"); });
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229