nealif 0 Newbie Poster

I am trying to write a page that reads the username with
javascript and then puts the value into the form for username
which in turn writes to a *.txt file. I have no clue what I am
doing.

This part works:
<script language="VBscript">

Dim X

set X = createobject("WSCRIPT.Network")

dim U

U=x.UserName

</script>


Now I need to know how to put it into this part for the form:
<TD><input type="hidden" name="username" >
</td>

Thanks so much!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.