JQuery Validation not working on master page in asp .net
<p>I have some .aspx pages with one master pages. I want to give client side validation to all controls on the .aspx pages. For this i am using jquery validation.(ketchup plugins of validation by ashley on papermashup.com tutorials)</p>

<p>It works properly on .aspx page "Without" master page.
But when am using same code &amp; link files on master page then it is not working. </p>

<p>Code without master page</p>

<pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="validation_demo.aspx.cs" Inherits="webpages_validation_demo" %&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;title&gt;&lt;/title&gt;
    &lt;link rel="stylesheet" type="text/css" media="screen" href="../css/jquery.ketchup.css" /&gt;
&lt;script type="text/javascript" src="../js/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="../js/jquery.ketchup.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="../js/jquery.ketchup.messages.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="../js/jquery.ketchup.validations.basic.js"&gt;&lt;/script&gt;
&lt;link rel="shortcut icon" href="../../Styles/favicon.ico" /&gt;
 &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
  &lt;link href="../CSS/jquery.ketchup.css" rel="stylesheet" type="text/css" /&gt;
    &lt;link href="../CSS/style.css" rel="stylesheet" type="text/css" /&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
    &lt;link href="../CSS/style_menu.css" rel="stylesheet" type="text/css" /&gt;
    &lt;link href="../CSS/Form_style.css" rel="stylesheet" type="text/css" /&gt;
     &lt;link href="../CSS/StyleSheet2.css" rel="stylesheet" type="text/css" /&gt;
   &lt;script type="text/javascript" src="../../image/jquery.js"&gt;&lt;/script&gt; 
    &lt;link href="../CSS/modalbox.css" rel="stylesheet" type="text/css" /&gt;
    &lt;script src="../Js/CommonFunctions.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script src="../Js/CommonValidations.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
    $(document).ready(function () {
        $('#signup').ketchup();
    });
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
   &lt;form action="" runat="server" method="post" id="signup"&gt;
    &lt;div style="margin-left:300px;margin-top:50px;"&gt;
          &lt;input type="text" class="validate(required ,number, minlength(10) ,maxlength(10))"  name="number" /&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Code with master page:</p>

<p>master page:</p>

<pre><code> &lt;%@ Master Language="C#" AutoEventWireup="true" CodeFile="Master_demo.master.cs" Inherits="webpages_Master_demo" %&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;title&gt;&lt;/title&gt;
        &lt;asp:ContentPlaceHolder id="head" runat="server"&gt;
        &lt;/asp:ContentPlaceHolder&gt;
          &lt;link rel="stylesheet" type="text/css" media="screen" href="../css/jquery.ketchup.css" /&gt;
    &lt;script type="text/javascript" src="../js/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="../js/jquery.ketchup.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="../js/jquery.ketchup.messages.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="../js/jquery.ketchup.validations.basic.js"&gt;&lt;/script&gt;
    &lt;link rel="shortcut icon" href="../../Styles/favicon.ico" /&gt;
     &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
      &lt;link href="../CSS/jquery.ketchup.css" rel="stylesheet" type="text/css" /&gt;
        &lt;link href="../CSS/style.css" rel="stylesheet" type="text/css" /&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
        &lt;link href="../CSS/style_menu.css" rel="stylesheet" type="text/css" /&gt;
        &lt;link href="../CSS/Form_style.css" rel="stylesheet" type="text/css" /&gt;
         &lt;link href="../CSS/StyleSheet2.css" rel="stylesheet" type="text/css" /&gt;
       &lt;script type="text/javascript" src="../../image/jquery.js"&gt;&lt;/script&gt; 
        &lt;link href="../CSS/modalbox.css" rel="stylesheet" type="text/css" /&gt;
        &lt;script src="../Js/CommonFunctions.js" type="text/javascript"&gt;&lt;/script&gt;
        &lt;script src="../Js/CommonValidations.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
        $(document).ready(function () {
            $('#signup').ketchup();
        });
    &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
  &lt;form action="" runat="server" method="post" id="signup"&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;

aspx pge with master page:

    &lt;%@ Page Title="" Language="C#" MasterPageFile="~/webpages/Master_demo.master" AutoEventWireup="true" CodeFile="demo_validation1.aspx.cs" Inherits="webpages_demo_validation1" %&gt;

    &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"&gt;
    &lt;/asp:Content&gt;
    &lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"&gt;
    &lt;script type="text/javascript"&gt;
        $(document).ready(function () {
            $('#signup').ketchup();
        });
    &lt;/script&gt;
    &lt;div style="margin-left:300px;margin-top:50px;"&gt;
              &lt;input type="text" class="validate(required ,number, minlength(10) ,maxlength(10))"  name="number" /&gt; 
     &lt;/div&gt;
    &lt;/asp:Content&gt;
</code></pre>
