javascript doesn't work in content page that use masterpage
<p>I use a kind of javascript,when i use it in a page without master page it works properly but when i use it in content page that use master page it doesn't work what should  i do for this problem?</p>

<p>i don't use any code in masterpage for javascript is it necesssary ?</p>

<pre><code>//Page1 without MasterPage
....
&lt;head runat="server"&gt;
    &lt;link rel="stylesheet" href="StyleSheet.css" type="text/css" media="screen"/&gt;
    &lt;script src="jquery-1.4.4.min.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
    &lt;script src="jquery.maskedinput.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
        $(function () 
        {
            $.mask.definitions['~'] = "[+-]";
            $("#date").mask("99/99/9999"); //Date
            $("input").blur(function () 
            {
                $("#info").html("Unmasked value: " + $(this).mask());
            }).dblclick(function () {
                $(this).unmask();
            });
        });
    &lt;/script&gt;
&lt;/head&gt;
....
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    date :  &lt;asp:TextBox ID="date"  runat="server" &gt;&lt;/asp:TextBox&gt;
.....

//page2 with MasterPage
...
&lt;asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"&gt;
   &lt;link rel="stylesheet" href="StyleSheet.css" type="text/css" media="screen"/&gt;
    &lt;script src="jquery.maskedinput.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
    &lt;script src="jquery-1.4.4.min.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
        $(function () 
        {
            $.mask.definitions['~'] = "[+-]";
            $("#date").mask("99/99/9999"); //Date
            $("input").blur(function () 
            {
                $("#info").html("Unmasked value: " + $(this).mask());
            }).dblclick(function () {
                $(this).unmask();
            });
        });
    &lt;/script&gt;
&lt;/asp:Content&gt;
....
&lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"&gt;
     date : &lt;asp:TextBox ID="date"  runat="server" &gt;&lt;/asp:TextBox&gt;
&lt;/asp:Content&gt;


//Master Page
...
&lt;head runat="server"&gt;
    &lt;asp:ContentPlaceHolder id="head" runat="server"&gt;
    &lt;/asp:ContentPlaceHolder&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
        &lt;asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server"&gt;
        &lt;/asp:ContentPlaceHolder&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
