<INPUT id=mchnt_cd class=validate[optional,custom[onlyLetterNumber],maxSize[15]] maxLength=15 type=text name={actionForm.mchnt_cd} jQuery15201475293156407274="4">
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
// lookup by tagId to "real id"
function lookupIdByTagId(id, tag)
{
var idScope = lookupIdScope(tag,".");
return (idScope == "") ? id : idScope + id;
}
//Non-Legacy lookup method creating a fully qualified scope id
function lookupIdScope(tag,sep)
{
var val = "";
if (sep == null) sep = "";
while (tag != null && tag.getAttribute != null) {
try {
var attrVal = tag.getAttribute("netui:idScope");
} catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
if (attrVal != null)
val = attrVal + sep + val;
tag = tag.parentNode;
}
return val;
}
// map tagId to "real name"
if (netui_tagIdNameMap == null)
var netui_tagIdNameMap = new Object();
netui_tagIdNameMap.mchnt_cd="{actionForm.mchnt_cd}"
// lookup by tagId to "real name"
function lookupNameByTagId(id, tag)
{
var idScope = lookupIdScope(tag,"_");
if (idScope == "")
return netui_tagIdNameMap[id];
else
return netui_tagIdNameMap[idScope + "__" + id];
}
-->
</SCRIPT>
一个<td>下面有一个<input>和<script>,这是一个验证输入内容的文本框,使用下面的语句
oIE.Document.getelementbyid("mchnt_cd").Value = Trim(Cells(1, 1))
无法对此文本框填值。
上下节点结构和input节点属性如图所示:
--
FROM 123.15.59.*

