Hi,

I want to assign ASP variable values to text field on-load of the page

I do not want to do below
<FORM>
<input type="text" name="namefield" value=<%=name%>>
</FORM>

I want to populate the field when first loaded with initial ASP variable, and then have user edit the value of the field.

Or, can I use JavaScript to do this assign on-loading of the page??

Thanks,
Chandi

test.asp

Dim name

name="Jones"

form.namefieled.value=<%=name%> ' Can I do this??


<FORM>
<input type="text" name="namefield">
</FORM>