title: Set data to Label's text in javascript function
body: <p>I set a javascript function to click event of LinkButton and want to set Label's text in this function,function call and pass data to it but after that when i want to read text of that Label from code behind,text is ""</p>
  
  <pre><code>//javascript function
  function PopUpFunction(code) {
  $("#&lt;%= lblStatus.ClientID %&gt;").text = code;
  }
  
  //set function to click event
  lnk.Attributes.Add("onclick", "PopUpFunction(10);");
  </code></pre>
  
  <p>//Edit</p>
  
  <p>I test Label (lblStatus) when i click on link button that call javascript's function,the text of label change but in code behind doesn't show this text (for example if text of label is 5 after i set new text in javascript's function again in code behind text is 5 although actual text is 10)</p>