Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying Textbox Data from ASP
Message
From
02/06/2002 00:58:13
 
 
To
31/05/2002 09:51:24
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00663412
Message ID:
00663847
Views:
15
>This is another one of my newbie questions, probably isn't as hard as I am making it for myself, so here goes.....
>
>I have an HTML Client Side form (uses javascript) with textboxes that need to be populated with data for the user to edit. I have a vbScript ASP that retrieves the data, no problem there, however, I am having trouble placing the data in the Client Side form textboxes with the values. I can display the values in a new form as a string, but cannot get them into the objects on the forms like I need. I have a requirement that the Client Side use javascript and just display the data, so I can't just put the ASP code into the Client Side form (which is how all the examples I have found does it).
>
>Any ideas or input would be appreciated. Thank you.
>
>Rhonda

Hi Rhonda,

Not exactly sure where the problem is, but I've always done it in ASP as follows...not this assumes a recordset available in the ASP page called rsRecordset...
<input type="text" name="txtMyField" value="<%=rsRecordset!myfield%>">
HTH,
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform