title: JQuery DatePicker not showing up in tabs
body: <p>I have a problem regading datepicker. I am currently using MVC4. So here is the case, I have my OtherReports.cshtml (which is the main view and where my tabs are located. Codes are displayed below)</p>
  
  <pre><code>@{
      ViewBag.Title = "Other Reports";
      Layout = "~/Views/Shared/_MasterPageLayout.cshtml";
  }
  
  &lt;div id="reportsContainer"&gt;
  
      &lt;link href="~/Content/themes/base/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" /&gt;
      &lt;script src="~/Scripts/jquery-ui-1.10.4.custom.min.js"&gt;&lt;/script&gt;
      &lt;link href="~/Content/themes/base/jquery-ui-1.10.4.custom.css" rel="stylesheet" /&gt;
      &lt;script src="~/Scripts/jquery-ui-1.10.4.custom.js"&gt;&lt;/script&gt;
  
      &lt;div id="tabs"&gt;
          &lt;ul&gt;
              &lt;li&gt;&lt;a href="#ExtractedClaims"&gt;Extracted Claims&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#RejectedClaims"&gt;Rejected Claims&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#PendingClaims"&gt;Pending Claims&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#IBNRClaims"&gt;IBNR Claims&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#PaidClaims"&gt;Paid Claims&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#UnprocessedLOA"&gt;Unprocessed LOA&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
          &lt;div id="ExtractedClaims"&gt;&lt;/div&gt;
          &lt;div id="RejectedClaims"&gt;&lt;/div&gt;
          &lt;div id="PendingClaims"&gt;&lt;/div&gt;
          &lt;div id="IBNRClaims"&gt;&lt;/div&gt;
          &lt;div id="PaidClaims"&gt;&lt;/div&gt;
          &lt;div id="UnprocessedLOA"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
      $(function () {
          $.get('/LablinkDoctorLink/ExtractedClaimsLoadLeftNavigation', function (data) {
              $('#leftNavigationBody').html(data);
          });
      });
  &lt;/script&gt;
  
    &lt;script&gt;
        $(function () {
            $("#tabs").tabs();
        });
      //ExtractedClaims
        $(function () {
            $('#tabs a[href="#ExtractedClaims"]').on('click', function () {
                $(function () {
                    $.get('/LablinkDoctorLink/ExtractedClaimsLoadLeftNavigation', function (data) {
                        $('#leftNavigationBody').html(data);
                    });
                });
            });
        });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>and I have my partial view which is the left Navigation of UnprocessedLOA (below code is shown)</p>
  
  <pre><code>    &lt;link href="~/Content/themes/base/jquery-ui-1.10.4.custom.css" rel="stylesheet" /&gt;
  &lt;script src="~/Scripts/jquery-1.10.2.js"&gt;&lt;/script&gt;
  &lt;script src="~/Scripts/jquery-ui-1.10.4.custom.js"&gt;&lt;/script&gt;
  &lt;link href="~/Content/themes/base/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" /&gt;
    &lt;script&gt;
            $(function () {
  
                $("#txtDateCreatedFrom").datepicker({
                    changeMonth: true,
                    changeYear: true
                });
  
                $("#txtDateCreatedTo").datepicker({
                    changeMonth: true,
                    changeYear: true
                });
            });
    &lt;/script&gt;
  
  &lt;div class="form-group"&gt;
      &lt;label&gt;Date Created - From:&lt;/label&gt;
      &lt;input type="text" id="txtDateCreatedFrom" class="form-control"/&gt;
  &lt;/div&gt;
  &lt;div class="form-group"&gt;
      &lt;label&gt;To:&lt;/label&gt;
      &lt;input type="text" id="txtDateCreatedTo" class="form-control" /&gt;
  &lt;/div&gt;
  &lt;br /&gt;
  &lt;div style="float: right;"&gt;
      &lt;button type="button" id="btnUnprocessedLoaSearch" class="btn btn-success"&gt;
          &lt;span class="glyphicon glyphicon-search"&gt;&lt;/span&gt; Search
      &lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>My problem now is: Why is it that the datepicker i placed in my _UnprocessedLeftNav is not showing up? Every I time i click on my TextBox, it does shows up? Any help?</p>