jquery 获取顶级父页面对象出错,解决方法

html代码:< table > < tr > < td >< s:include file="leftmenu.jsp" > </td> < td valign="top"> < div > </div> </tr> </table>。。。。。。。。以上为我的html模版,如果在 webbody中使用 $("#ControlBar", top.document.body)会报错,但是 window.top.$("#ControlBar", top.document.body) 即可

你可能感兴趣的:(html,html,html,jquery,jquery,jquery,jquery,jquery,File,File,table,include)