I am facing some problem in assigning name and ids to input type="hidden"
values ?? Can anyone help me out ?? I need to set names like table1, table2........e tc.
I 'm also in a similar situation where i need to set the input type values dynamically. In the HTML code of the web form in VB.NET, i have the following:
[HTML]<input type="hidden" name="item_name _1" value="Datastru ctures in C++">
<input type="hidden" name="item_desc ription_1" value="Introduc tion to C++">
<input type="hidden" name="item_quan tity_1" value="1"> <input type="hidden" name="item_pric e_1" value="31.99">
<input name="item_curr ency_1" type="hidden" value="USD" /> <input name="_charset_ " type="hidden" value="utf-8" />
[/HTML]
Now is there a way, i can change the value for the above input types dynamically?
I wil highly appreciate your help.
Originally posted by gits
hi ...
please show how you create the nodes and the name attributes for the input-fields ... do you have tried something?
kind regards
Last edited by acoder; Jan 1 '08, 09:50 AM.
Reason: Added code tags
Do i save it to a .js file and then call it from Page_Load? Sorry for these questions as i haven't used javascript in VB.NET
I got confused from your previous reply where you said you wanted this in VB. I thought that meant using VB.NET code. To include the JavaScript, see this article which includes a section on adding the client-side script to your .NET application.
Yes i want this in VB. NET.
Thanks for the link. The items 'ClientScript' AND 'StringBuilder' are being underlined blue (ClientScript is not declared and stringBuilder is not defined)
Which class do i need to import to fix this?
Thanks
Originally posted by acoder
I got confused from your previous reply where you said you wanted this in VB. I thought that meant using VB.NET code. To include the JavaScript, see this article which includes a section on adding the client-side script to your .NET application.
Comment