Does anyone have any examples of input validation changing the input border color to red?
Thanks.
Erik
Does anyone have any examples of input validation changing the input border color to red?
Thanks.
Erik
It's best to keep as much of the styling as you can in the style-sheets. Defined a
input.invalid {
border: solid red 1px;
}
and use .addClass("invalid")
on your elements