views:

5

answers:

0

Hello!

I want to validate a form where I use CKEditor for one of the inputs. When an input is wrong, I set its border and background to colors of red.

Using JavaScript, how can I read the contents of the CKEditor? Also, how can I make the editing textarea red background and red border?

Thank you.