> <%
Dim Myform
Set Myform = document.forms.thisform
You are seriously confusing client-side and server-side concepts. ASP
executes as, basically, a two-step process. ASP runs on the server, and so
has no knowledge of client-side things like forms. Once ASP finishes
running, the client-side code runs and, likewise, it has no knowledge of
server-side subs, functions, etc. Think about getting a passport, you need
to get your photo first, then apply for the passport. Does it make sense to
have your passport # printed on the photo before your passport # has been
issued?
You can make the two communicate in different ways, but what you're doing
isn't one of them.
To replicate what you're trying to do:
<%
myValue = "fish"
%>
<input type=text name=textbox1 value='<%=myValue%>'>
Not sure why you are "supposed to be using VBScript" ... you should use
JavaScript on the client so that your pages will work in Firebird/Firefox,
Mozilla, etc.
--
http://www.aspfaq.com/
(Reverse address to reply.)