I have a form validation script for a website contact form. If a specific input field is left blank, it prompts the user with an error message. What I would like to do is to make the output text a specific color. I'm not exactly sure how to go about doing this though in the actual script file. The portion of text I want to display a different color is below:
Does anyone know what I would need to do to get the "Please enter a value for this field." to display in a different color other than black?
Enkrypted
A+
Code:
var s_error_field_empty = "Please enter a value for this field.";
Does anyone know what I would need to do to get the "Please enter a value for this field." to display in a different color other than black?
Enkrypted
A+