Html 如何访问多嵌套框架内的元素并为其设置值

Html 如何访问多嵌套框架内的元素并为其设置值,html,vbscript,Html,Vbscript,但是上面这句话给了我一个错误? 请提供帮助。也许你是指ASP vbscript,而不是微软试图让互联网上的每个人都编写vb而不是JavaScript(可能显示我的年龄)?不管怎样,这个问题都不清楚是的。我并不是一个真正的程序员。我想要实现的是能够以编程方式将值写入位于多级框架集中的该属性。使用javascript访问此文件的正确方法是什么?非常感谢。 <html><head> <title>content</title> </head>

但是上面这句话给了我一个错误?
请提供帮助。

也许你是指ASP vbscript,而不是微软试图让互联网上的每个人都编写vb而不是JavaScript(可能显示我的年龄)?不管怎样,这个问题都不清楚是的。我并不是一个真正的程序员。我想要实现的是能够以编程方式将值写入位于多级框架集中的该属性。使用javascript访问此文件的正确方法是什么?非常感谢。
<html><head>
<title>content</title>
</head>
<frameset rows="68,*,20" border="0" frameborder="no" framespacing="0">
    <frameset cols="0,0,*" frameborder="0" border="0">...</frameset>
    <frameset cols="170,*" frameborder="0" border="0">
        <frame src="/html/main/menu.asp" name="menufrm" id="listfrm" frameborder="no" border="0" scrolling="auto" 
            target="_self" marginwidth="0" marginheight="0" noresize="">...</frame>
        <frameset rows="70,*" border="0" frameborder="0" framespacing="0">
            <frame src="/html/main/tab.asp" name="tabfrm" id="tabfrm" frameborder="no" border="0" scrolling="no" target="_self" 
                marginwidth="0" marginheight="0" noresize="">...</frame>
            <frame src="" name="contentfrm" id="contentfrm" frameborder="0" border="0" scrolling="auto" target="_self"
                marginwidth="0" marginheight="16" noresize="">
                #document
                <html>
                <head>...</head>
                <body onload="LoadFrame();" marginwidth="0" marginheight="16">
                    <form id="ConfigForm" action="">
                        <script>...</script>
                        <table width="90%" border="0" cellpadding="0" cellspacing="0">
                            <tbody>
                                <tr>...</tr>
                                <tr>
                                    <td id="Security">
                                        <table class="tabInfo">
                                            <tbody>
                                                <tr width="100%" class="trTabConfigure" align="center">...</tr>
                                                <tr class="trTabConfigure" align="right">...</tr>                           
                                                <tr class="trTabConfigure" align="right" readonly="true" id="Select_Anon">
                                                    <td width="40%" align="right">...td>
                                                    <td width="60%" align="left">
                                                        <input maxlength="252" type="text" align="left" name="Anony_Item" id="Anony_Item" 
                                                        style="width:150px">
                                                    </td>

                                        </tr>
Set setNAI = IE.document.getElementByID("contentfrm").contentWindow.document.All("Anony_Item")
setNAI.value = "NAI_Value"