Javascript 如何在其他帧中显示div

Javascript 如何在其他帧中显示div,javascript,css,Javascript,Css,在框架集中有五个框架,在第三个框架jsp中有一个div,它以下拉列表的形式动态加载内容。问题是我需要将第三帧的行大小增加到更大的大小,以适应下拉列表值。如果不是,则下拉div与第四帧重叠,不显示任何结果 下面是片段 <frameset rows="0,0,28,*,21" frameborder="0" border="0" framespacing="0" onunload="onUnload()"> <frame name="timeoutcontrol" id="Main

在框架集中有五个框架,在第三个框架jsp中有一个div,它以下拉列表的形式动态加载内容。问题是我需要将第三帧的行大小增加到更大的大小,以适应下拉列表值。如果不是,则下拉div与第四帧重叠,不显示任何结果

下面是片段

<frameset rows="0,0,28,*,21" frameborder="0" border="0" framespacing="0" onunload="onUnload()">
<frame name="timeoutcontrol" id="MainEx_timeoutcontrol_0" src="/webtop1/wdk/timeoutcontrol.jsp?Reload=1362290081162&amp;__dmfFrameId=MainEx_timeoutcontrol_0&amp;__dmfClientId=1362290080503" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" noresize="">
<frame name="residentucfinvoker" id="MainEx_residentucfinvoker_0" src="/webtop1/component/residentucfinvoker?Reload=1362290081162&amp;__dmfFrameId=MainEx_residentucfinvoker_0&amp;__dmfClientId=1362290080503" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" noresize="">
<frame name="titlebar" id="MainEx_titlebar_0" src="/webtop1/component/titlebar?Reload=1362290081162&amp;__dmfFrameId=MainEx_titlebar_0&amp;__dmfClientId=1362290080503" title="Title Bar Documentum Webtop" frameborder="0" scrolling="no" noresize="">
<frame name="view" id="MainEx_view_0" src="/webtop1/webtop/classic/classic.jsp?Reload=1362290081162&amp;__dmfFrameId=MainEx_view_0&amp;__dmfClientId=1362290080503" title="Classic View. Use column header links to sort files" frameborder="0" scrolling="no" noresize="">
<frame name="messagebar" id="MainEx_messagebar_0" src="/webtop1/component/messagebar?Reload=1362290081162&amp;__dmfFrameId=MainEx_messagebar_0&amp;__dmfClientId=1362290080503" title="Message Bar. Location of success and failure messages." frameborder="0" scrolling="no" noresize="">
</frameset>


有没有办法在第四帧中显示div下拉列表值?请告知

好久不见。停止使用帧。问题解决了。框架在HTML5中已经被弃用了。你能告诉我框架的其他替代品吗。现代HTML+JS意味着您可以将内容加载到页面上任何想要的元素中,而无需重新加载页面。使用XmlHTTPRequest对象获取数据,一旦数据存在,只需将其加载到需要的任何位置。花点时间在上面,对你来说是值得的。