title: Hide element only if javascript is enabled
body: <p>I have a view that displays a textbox as follows:</p>
  
  <pre><code>@Html.TextBoxFor(m =&gt; m.CodeGuest, new {style = "display: none"})
  </code></pre>
  
  <p>it is displayed via javascript (so the user clicks a checkbox).</p>
  
  <p>If javascript is not enabled, I must remove this line (<code>style = "display: none"</code>) so that the textbox is displayed by default.</p>