iframe中父窗体如何调用子窗体中的方法! iframe中窗体如何调用子窗体中的方法!谢谢解决! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 window.frames[0].document.getElementById.... <iframe id="frameMain" name="frameMain" src="/a.jsp" width="100%" height="100%" frameborder="0"></iframe> window.frames["frameMain"].aa();在a.jsp 中 有个 方法function aa(){} 各位IT精英们,本小店刚开业,欢迎光顾,中秋充值大优惠了啊!http://chenjuan88.taobao.com/ window.frames[0].document.getElementById()就这样啊 [code=CSS ]store1 = new Ext.data.Store({ proxy: new Ext.data.PagingMemoryProxy(url: "yourURL") , reader: new Ext.data.JsonReader({}, [ {name: "SUMS", type: "int", mapping: 0}, ..... ]) });gridPanel2.getView().getRowClass=function(record,rowIndex,rowParams,store){alert(record.data.SUMS + "##" + record.get("SUMS"));if(Number(record.get("SUMS")) <=1000)//问题:该怎么得到SUMS的值??{return 'x-grid-record-red';}}[/code] [code= JScript ]function(){}[/code] 散分:关于ANT工具的一个小问题 struts2 session 解决S2SH问题 高分求助BEA WorkSpace Studio1.1下netui:tree标签的详细用法! struts2用什么方法连接数据库呀?,我只知道struts1的连接方法请高手帮忙。 求救如何实现导航条,代码怎么写呀(给分) 我该下载那一个tomcate5.0的 问大家二个关于tomcat和连接池的问题 如何将从数据库中取出的记录集存放在一个hashtable中,再一行一行的取出来,请提供一个例子程序,谢谢! 关于数据库连接关闭的问题? IE6 异步树形控件问题 在combbox里能够实现多选吗???(在线等)
window.frames[0].document.getElementById....
src="/a.jsp"
width="100%" height="100%" frameborder="0"></iframe>
window.frames["frameMain"].aa();
在a.jsp 中 有个 方法
function aa(){}
proxy: new Ext.data.PagingMemoryProxy(url: "yourURL") ,
reader: new Ext.data.JsonReader({}, [
{name: "SUMS", type: "int", mapping: 0},
.....
])
});
gridPanel2.getView().getRowClass=function(record,rowIndex,rowParams,store){
alert(record.data.SUMS + "##" + record.get("SUMS"));
if(Number(record.get("SUMS")) <=1000)//问题:该怎么得到SUMS的值??
{
return 'x-grid-record-red';
}
}
[/code]
[/code]