JQuery Validation is not working
<p>I have one form in which one input type whose value is "First Name".But this can be changed on onfocus function I want validation for this input field if it is blank or "First name"</p>

<p>I have two jquery files <strong>jquery-1.4.2.min.js &amp; jquery.validate.pack.js</strong>.</p>

<p>I have another jqeury file for this form</p>

<pre><code>jQuery(document).ready(function() {
    jQuery("#frmRegister").validate({
        errorElement:'div',
        rules: {

            Fname:{
                required:true,
                minlength: 2,
                maxlength:30            

            }

        },
        messages: {
            Fname:{
                required: "Please enter first name",
                minlength: "Required minimum 2 characters allowed",
                maxlength: "Required maximum 30 characters allowed"
            }
    });
    jQuery("#msg").fadeOut(5000);
});
</code></pre>

<p>In this file required:true is working if value is balnk but by default value is "First Name" so it does not work I want both if it is blank or it is "First Name".</p>




              

                Full Name:

                

                  
                

              </li>



<p>Please reply as early as possible.
Thank You.</p>
