title: Change an object visibility with javascript using a checkbox?
body: <p>i'm really sorry if this question have been asked before but I couldn't find it.</p>
  
  <p>Working on a ASP.NET/C# web application.</p>
  
  <p>i am creating a label in the code behind and adding it to the page (all coded in the code behind and not in design page)</p>
  
  <p>Now I have a check-box I want to change the visibility of the label depending if the checkbox is checked (show) or if not (hide).</p>
  
  <p>I tried to use an update panel. But since the label is generated in code I have to generate it again everytime there is a partial postback. and I don't want that.</p>
  
  <p>Is there a way to do this with javascript to avoid post-backs? other solutions are also appreciated.</p>
  
  <p>Thank you very much for any help</p>