The VBScript DOM doesn't work that way. As far as I know, you have to use the names like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<script language="VBScript">
sub showMe()
set el=Document.frmForm1.Eleme
el.value="Some Value"
msgbox el.value
end sub
</script>
</head>
<body onLoad="showMe()">
<form method=post action="" id="frmForm1" name="frmForm1">
<input type="TEXT" size="36" name="210" id="210">
</form>
</body>
</html>
Main Topics
Browse All Topics





by: deighcPosted on 2005-04-28 at 14:57:54ID: 13890405
It could be that getElementById expects a string value and you're passing in an integer. Try forcing the value to a string:
& id)
tr(id))
el = document.getElementById(""
or
el = document.getElementById(cs