<input type="button" class="new"/> $("input[name=new]").hasClass("new");
jQuery动态改变背景图片
$('.pop-box').css("background-image","url(\"<%=request.getContextPath() %>/img/wishes/"+data+".jpg\")");
lijiale 2016-04-22 09:51 原文
<input type="button" class="new"/> $("input[name=new]").hasClass("new");
jQuery动态改变背景图片
$('.pop-box').css("background-image","url(\"<%=request.getContextPath() %>/img/wishes/"+data+".jpg\")");