Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input Hidden usage
Message
From
29/05/2009 14:43:09
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Input Hidden usage
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Application:
Web
Miscellaneous
Thread ID:
01402665
Message ID:
01402665
Views:
114
Hi All,

When I put a hidden field in an ASP.NET page like this does it need to be inside a form element? Can it just go inside the Content place holder?
<asp:HiddenField ID="hdnIsNew" runat="server" Value="N" />
I have found references where I can access the value with:
 document.formName.elelments['hdnIsNew'].value
If I don't have this inside a form tag, how do I access it from my javascript function? Should there be intelisense for this?
Will this work?
document.elements['hdnIsNew'].value
Thanks
Tim
Timothy Bryan
Next
Reply
Map
View

Click here to load this message in the networking platform