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
$(document).ready(function () {
$("#form1").validate({
rules: {
<%=TxtName.UniqueID %>:{----expected identifier sting or number..
required:true
}
},
messages: {
<%=TxtName.UniqueID %>:{----
required: "* Required Field *"
},
},
});
});
TIA

Francis SusaimichaelRank #466 · 5.4K reputationPosted Jun 8, 2016, 12:06 AM EDT
aditya immadi144 reputationPosted Jun 8, 2016, 12:42 AM EDT