I want to change the error message border color on text box
here is the code:
function ValidateFrom() {
if (document.getElementById("<%=txtCategoryName.ClientID %>").value.trim() == "") {
document.getElementById("<%=dvMessage.ClientID %>").innerHTML = "Please enter Category.";
document.getElementById("<%=txtCategoryName.ClientID %>").focus();
// document.getElmentById(val.controltovalidate).style.border = '3px solid red';
return false;
}
by default in form-control it will takes blue..i want while changes on error message show red border..
Midhun TpPosted Aug 18, 2016, 5:14 AM
Manoj MaharanaPosted Aug 19, 2016, 7:33 AM
Manoj MaharanaPosted Aug 19, 2016, 7:32 AM