Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input type=hidden
Message
 
À
03/06/2009 16:23:33
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Application:
Web
Divers
Thread ID:
01403531
Message ID:
01403559
Vues:
38
>I have a asp page that includes a master page. I have placed a hidden input inside the content holder but it does not seem to be accessible via the java script.
>
><input type="hidden" id="rowindex" runat="server" />
>
>
>I do not get any errors when referencing this field in the code behind, but I can't seem to access it from java script. Also, when I view page source, it isn't there. Many others are that I don't have anything to do with, but mine is not there. Anybody know where I need to place this for it to be available?
>Thanks
>Tim

Since you're including the "runat" ASP.NET is mangling the client name. The only reason you'd need it is if you want to access it from your code-behind page. Otherwise, remove it and it should appear as-is.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform