title: MVC4 jQuery UI does not work
body: <p>I cannot get jQuery UI working in my ASP.NET MVC4 application. I tried dialog and datepicker.
  Here is part of the code of my view.</p>
  
  <pre><code>&lt;link href="../../Content/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" /&gt;
  &lt;script src="../../Scripts/jquery-1.5.1.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../Scripts/jquery-ui-1.8.11.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script language="javascript" type="text/javascript"&gt;
  $(document).ready(function () {
      alert('A');
      //$('#datepicker').val('test');
      $('#datepicker').datepicker();
      alert('B');
  });
  &lt;/script&gt;
  &lt;h1&gt;Test&lt;/h1&gt;
  &lt;form id="testForm" action="#" method="get"&gt;
      &lt;input type="text" id="datepicker" name="datepicker" class="datepicker" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The alert A is displayed. When I uncomment the next row, the value test is assigned. But datepicker is not working and alert B does not display.</p>
  
  <p>Thanks,
  Petr</p>