Changing value of hidden HTML input

  • Thread starter Thread starter Urs
  • Start date Start date
U

Urs

Hi

How do I change the value of an HTML HIDDEN INPUT field from code behind (VB
or C#)?

I need this (invisible) field for some javascript to gather information once
the page has been loaded.

Thanks for any hints. Urs.
 
Pput an ID on it, and a runas="server" attribute on it. Then you can
programmatically access it as a
System.Web.UI.HtmlControls.HtmlGenericControl...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top