-
How to assign ASP varable values to text fields on loading the page
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>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks