日期:2014-05-16  浏览次数:20363 次

如何设置框架焦点
<body>
<table>
<tr>
<TD   vAlign= "top "   width= "100% "   memo= "Frame:RightContent "> <iframe   name= "BG_Frame "   width= "100% "   height= "100% "   frameborder= "0 "   scrolling= "auto "   src= ' <%=GetCurrentIFrameUrl()> '> </iframe>
</TD>
</tr>
</table>
</body>
当页面加载时,自动把焦点聚焦到框架上   ,请问如何处理

------解决方案--------------------
window.frames[ "BG_Frame "].focus()