title: Mvc 3 conditional HTML
body: <p>The following code works:</p>
  
  <pre><code>  @if ( Model.document.usesNumericRevision )
              {
               &lt;tr&gt;
                      &lt;th&gt;Major Revision&lt;/th&gt;
                      &lt;td&gt;@Html.TextBoxFor( m =&gt; m.document.documentStatus.documentRevision.MajorRevision )&lt;/td&gt;
               &lt;/tr&gt;
               &lt;tr&gt;
                      &lt;th&gt;Minor Revision&lt;/th&gt;
                      &lt;td&gt;@Html.TextBoxFor( m =&gt; m.document.documentStatus.documentRevision.MinorRevision )&lt;/td&gt;
                &lt;/tr&gt;
              }
          else
              { 
               &lt;tr&gt;
                  &lt;th&gt;Alphanumeric Revision&lt;/th&gt;
                  &lt;td&gt;@Html.TextBoxFor( m =&gt; m.document.documentStatus.documentRevision.Revision )&lt;/td&gt;
              &lt;/tr&gt;
              }
  </code></pre>
  
  <p>Depending on the value of usesNumericRevision the appropriate HTML will display.  But if the user checks / unchecks the checkbox, the view will not update.  Is there a way to update the view without going back to the server?</p>