Hai all
i wrote this one for simple validations but in this line <%=TxtName.UniqueID %> the (:) shows eror expected identifier sting or number.. i dont knoq what is wrong with that can any body explain me
<script type="text/javascript">
$(document).ready(function () {
$("#form1").validate({
rules: {
<%=TxtName.UniqueID %>:{----expected identifier sting or number..
required:true
}
},
messages: {
<%=TxtName.UniqueID %>:{----
required: "* Required Field *"
},
},
});
});
TIA