title: Filling label value with javascript. Label empty in code behind after postback?
body: <p>I have some text that needs to be changed after a click of a button. The button triggers a Javascript. This Javascript changes the value of the label. When I check the value of the label in the in different places its always empty.
  I check the value of the label in page load and the pre render.</p>
  
  <pre><code>void Page_PreRender(object sender, EventArgs e)
  {
  
           string siteALias = lblSiteAliasDiscription.Text; //empty
  }
  
  protected void Page_Load(object sender, EventArgs e)
  {
           string siteALias = lblSiteAliasDiscription.Text; //empty
  }
  
  function setDiscription(siteAlias, discription) {
              alert(siteAlias);
              document.getElementById("ctl00_contentHolder_lblSiteAliasDiscription").InnerHTML = siteAlias;
              alert(document.getElementById("ctl00_contentHolder_lblSiteAliasDiscription").InnerHTML);
  
          }
  </code></pre>
  
  <p>Both alerts are filled in the right way, this is why I'm sure the label gets clear after the Javascript runs. Is there a way to read be able to read the label with the filled in value in the code behind?</p>