开发常用

$(".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; }

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值