
ASP.net 怎样从一个页面获取另一个页面的控件?谢谢!
展开全部
JS 获取本页面中使用iframe导入另一个页面中的控件ID的值和属性
var imgName5= document.frames["uploadiframe"].document.getElementById("imgName5").width;
uploadiframe:iframe中的name
imgName5:iframe中导入的另一个asp页面的控件的id的名字
参考:http://hi.baidu.com/bj_chengrong/blog/item/97ba49eea76fce3dacafd5ef.html
var imgName5= document.frames["uploadiframe"].document.getElementById("imgName5").width;
uploadiframe:iframe中的name
imgName5:iframe中导入的另一个asp页面的控件的id的名字
参考:http://hi.baidu.com/bj_chengrong/blog/item/97ba49eea76fce3dacafd5ef.html
参考资料: http://hi.baidu.com/bj_chengrong/blog/item/97ba49eea76fce3dacafd5ef.html
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询