发新话题
打印

如何访问frame中的数据?

如何访问frame中的数据?

以下是网页代码
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>主页</title>
<meta http-equiv="Content-Type" c>
</head>
        <frameset rows="71,3,*,30" cols="*" framespacing="0" frameborder="NO" border="0">
                <frame src="top.htm" name="topFrame" frameborder="no" scrolling="no" noresize >
                <frame src="nav.htm" frameborder="no" scrolling="no" noresize>
                    <frameset cols="167,*" frameborder = "1" framespacing = "2" bordercolor = "#DDEEFF">
                        <frameset rows="8,*" frameborder = "0" framespacing = "0">
                            <frame src="topline.htm" name="topline" frameborder="no" scrolling="no" id="">
                            <frameset cols="17,3,*">
                                <frame src="leftline.htm" name="leftline" frameborder="no" scrolling="no" id="" noresize>
                                <frame src="leftline1.htm" name="leftline" frameborder="no" scrolling="no" id="" noresize>
                                <frame src="left.jsp" name="left" frameborder="no" scrolling="auto" id="">
                            </frameset>
                        </frameset>
                        <frame src="content.htm" name="main" frameborder="0" scrolling="auto" framespacing="0" bordercolor = "#DDEEFF">
                      </FRAMESET>
                <frame src="bottom.jsp?userid=6522001004" name="mainFrame" frameborder="no" scrolling="no" noresize>
        </FRAMESET>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>
我要访问的数据在红色的 frame 中,但是我无法得到其中的网页代码,也不知道如何访问,而且此网页不能刷新.
我想编写一段VBS的代码,得到所需要的数据进行二次分析.
请指教,谢谢!

TOP

window.frames['main'].document.getElementById("xxx").value

TOP

发新话题