就是这样,frame的用法比较玄乎,有window对象,有frame元素对象,方法属于哪一类要弄清楚
解决方案 »
- 关于String 传址传值?
- spring + jpa 时 将数据插入或更新到数据库时,出现异常!
- 如何hibernate中对onetomany属性的提取值进行筛选
- org.hibernate.exception.SQLGrammarException: could not execute query错误,请高手解决一下
- 本地的servlet可以访问其他机器上的servlet吗?
- 请问在JAVA如何实现http请求的header字段的赋值?
- 关于如何配置tomcat,使其启动时加载特定servlet,执行init
- 大家估个价,这个erp系统能开什么价?
- Could not open JPA EntityManager for transaction; nested exception is javax.pers
- 关于struts2的问题,关于ActionContext的。
- EJB 调用CMP实体Bean 异常EJBException
- 已参加工作的同志帮忙一下
<script>
function GetDoc(obj)
{
alert(document.frames[obj.id].document.getElementById("edu_userphoto").value);
}
</script>
</head><body>
<iframe name=xy_userphoto src="upphoto.jsp" id=xy_userphoto onload="GetDoc(this)"> </iframe>
</body>