Javscript调用iframe框架页面中函数的方法,可以实现iframe之间传值或修改值了,
访问iframe里面的函数:
window.frames['CallCenter_iframe'].hw_CallIn(callerid,sessionid);说明:CallCenter_iframe为iframe的idhw_CallIn为iframe中页面中的方法名callerid和sessionid为方法中的参数
例子如下: index.html
2.html
原文:http://www.jb51.net/article/56988.htm