from http://my.oschina.net/u/857043/blog/97896
JQuery调用iframe子页面函数/对象的方法例子:
父页面有个ID为mainfrm的iframe,iframe连接b.html,该页面有个函数test
在父页面调用b.html的test方法为:
$("#mainfrm")[0].contentWindow.test();
JQuery调用iframe子页面函数/对象的方法
原文:http://www.cnblogs.com/passer1991/p/3541492.html