title: Error when i calling jquery in master page
body: <p>I have calender datetimepicker jquery.
  when I am calling this in simple aspx page then its working fine but when i am calling in the page where master page attach then its not working.</p>
  
  <p>Here's the code that I am using:</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default11.aspx.cs"
           Inherits="Default11" %&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
    &lt;head runat="server"&gt;
      &lt;link href="ui.all.css" rel="stylesheet" type="text/css" /&gt;
      &lt;link href="demos.css" rel="stylesheet" type="text/css" /&gt;
      &lt;script src="jquery-1.3.2.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="ui.datepicker.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="ui.core.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;title&gt;Untitled Page&lt;/title&gt;
    &lt;/head&gt;
  
    &lt;script type="text/javascript"&gt;
  $(function() {
      $("#txt").datepicker();
  });
    &lt;/script&gt;
    &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
        &lt;div&gt;
          &lt;asp:TextBox ID="txt" runat="server"&gt;&lt;/asp:TextBox&gt;
        &lt;/div&gt;
      &lt;/form&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>That is working fine.</p>
  
  <p>But when I am calling like this then its not showing calender</p>
  
  <pre><code>&lt;%@ Page Language="C#" MasterPageFile="~/MasterPage.master" 
           AutoEventWireup="true" CodeFile="CAL.aspx.cs" 
           Inherits="admin_CAL" Title="Untitled Page" %&gt;
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="CPHMain" Runat="Server"&gt;
    &lt;link href="ui.all.css" rel="stylesheet" type="text/css" /&gt;
    &lt;link href="demos.css" rel="stylesheet" type="text/css" /&gt;
    &lt;script src="jquery-1.3.2.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script src="ui.datepicker.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script src="ui.core.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
      $(function() {
      $("#TextBox1").datepicker();
          });
    &lt;/script&gt;
    &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
  &lt;/asp:Content&gt;   
  </code></pre>