Reputation: 1022
i make a textarea and i want if user move another page and textarea empty then message show this field is required,but when i apply class then ckeditor class not apply but i want both classes apply,how i do this? i try to add both classes seperated with comma but not applying,here is my code:
<textarea name="message" class="validate[required] ckeditor" id="message" cols="90" rows="15" style="width: 100%;"></textarea>
how i apply both classes?
Upvotes: 1
Views: 125
Reputation: 15739
Just write it after a space.
For instance,
<textarea name="message" class="validate ckeditor yourClass" id="message" cols="90" rows="15" style="width: 100%;"></textarea>
Upvotes: 2