title: jQuery date picker not working in content pages
body: <p>I am using a jQuery date picker. It works fine on a normal aspx page. But it doesn't work on the content pages.</p>
  
  <p>This is the code in my content page</p>
  
  <pre><code>&lt;asp:Content ID="body"  ContentPlaceHolderID="ContentPlaceHolder1" runat="server" &gt;
     &lt;div  id="content"&gt;
      &lt;div id="examples"&gt;
      &lt;div&gt;
          Default time picker :
          &lt;input type="text" style="width: 70px;" id="timepicker.[1]" value="" /&gt;
  
          &lt;script type="text/javascript"&gt;
              $(document).ready(function () {
                  $('#timepicker\\.\\[1\\]').timepicker();
              });
          &lt;/script&gt;
       &lt;/div&gt;
       &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;/asp:Content&gt;
  </code></pre>
  
  <p>I am not very familiar with jQuery but I suppose these lines cause problem since they check for the body tag. I tried using placing div id there but can't get it to work.</p>
  
  <pre><code>find("body").append($.timepicker.tpDiv);
  $("body").append(this.tpDiv);
  </code></pre>
  
  <p>How can I append the div without body tag</p>