Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input Hidden usage
Message
De
29/05/2009 14:43:09
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Input Hidden usage
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Application:
Web
Divers
Thread ID:
01402665
Message ID:
01402665
Vues:
111
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform