$(".selectL li a.sbg").attr("class",function(index,oclass){}),其中index是当前对象在获得的对象集合中的索引,oclass是当前对象原来的class属性值
window.parent.frames["topFrame"].location.reload(); 是在frameset集合里,各个frame之间的数据有联系才需要刷新的。刷新时会加载页面。所以需要在被刷新的页面的body的onload属性里加入方法
Date date=new Date(); SimpleDateFormat df=new SimpleDateFormat("yyyyMMdd hh:mm:ss"); String time=df.format(date);
<iframe id="includeURL" width="100%" height="700" frameborder="0" scrolling="auto"></iframe> $(function(){ document.getElementById("includeURL").src="<%=basePath%>partnerbusiness/EvalutManager_forward.action?type=all"; })
document.getElementById("tj").style.fontSize="14px"; //document.getElementById("tj").style.width="100"; 改变字体的大小和button的宽度,对于宽度,必须要style属性,里面再加入width属性键值对才可以
.totalspan { backgroundcolor:#E3E3E3; display:mozinlinebox; display:inlineblock; position:absolute; width:200px; } .percspan { backgroundcolor:#f36D04; display:mozinlinebox; display:inlineblock; width:150px; position:absolute; paddingleft:0; left:5px; }