现在的位置: 首页 > 综合 > 正文

Jquery 得到当前页面的Iframe,并调用iframe中的方法

2013年02月11日 ⁄ 综合 ⁄ 共 248字 ⁄ 字号 评论关闭
 function GetTxtValue(passvalue) {
            var frmSelectCourseUnit;
            var frmContent;
            $.each(top.frames, function (index) {
                if (this.name == 'frmSelectCourseUnit')
                    frmSelectCourseUnit = this;
                else if (this.name == 'frmContent')
                    frmContent = this;
            });
 
            frmContent.GetTxtValue(passvalue);
        }

【上篇】
【下篇】

抱歉!评论已关闭.