Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Textbox Data from ASP
Message
De
03/06/2002 14:32:28
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00663412
Message ID:
00664204
Vues:
22
>>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="< % ERROR: =rsRecordset!myfield % >">
>
>
>HTH,

Philip,
I can do that, however, it places a textbox with the record set value on a new html page instead of placing the value in the textbox on the original html page. Herein lies my problem, getting the data to display in the original textbox on the original html page to allow editing. Thanks.

Rhonda
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform