Setting up an error condition so that when the condition is true a css class will be added.
For example, when the condition is FALSE <p></p> do nothing, if TRUE add a class. <p class="error"></p>.
Here is the jquery I am using to add the calls but it not working.
this example gets an array of all p tags and for each one with empty innerHTML sets the class (you may want to getAttribute and concatenate the new string to the old first if you don’t want to replace existing classes) also older versions of IE may use className