title: jQuery UI reload tab content in ASP.NET MVC 3 application
body: <p>I'd like in an ASP.NET MVC 3 reload the tab content each tab I change tab, when I select the first tab (index = 0), I'd like reload the content. In the tab, it's a ASP.NET MVC partial View</p>
  
  <p>I have this code :</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(function () {
          $('#tabs').tabs();
      });
  &lt;/script&gt;
  
  &lt;div id="tabs"&gt; 
      &lt;ul&gt; 
          &lt;li&gt;&lt;a href="#tabs-1"&gt;AAAA&lt;/a&gt;&lt;/li&gt; 
          &lt;li&gt;&lt;a href="#tabs-2"&gt;BBBB&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  
      &lt;div id="tabs-1"&gt; 
          @Html.Partial("PartialViewA", Model)
      &lt;/div&gt; 
      &lt;div id="tabs-2"&gt; 
          @Html.Partial("PartialViewB", Model)
      &lt;/div&gt; 
  
  &lt;div&gt;
  </code></pre>
  
  <p>Do you have an idea ?</p>