21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 597 Views |
-
jquery - styling the error msg

21 May 2009 at 1:38am
Where does the error msg that shows on a form set this styling? I have the proper style sheet for .required, but I'm trying to find where/how this is generated.
The reason is I'm doing another validation on a form field and I want to error msg to look identical. The jquery validation works great and the error msg shows up, but it's just not styled.
Terry
-
Re: jquery - styling the error msg

21 May 2009 at 1:44am
Nevery mind. I figured it out. OMG - this spanked me.
The answer was basically there is a default setting for errorClass that I simply added to the css style sheet to be the same as .required. Wored perfectly...uggggg
Everything is so simple once you get your head around it. It took me 4 days to figure out 4 lines of code. I hate when that happens.
Terry
| 597 Views | ||
|
Page:
1
|
Go to Top |

