title: CKEDITOR validation in JQuery
body: <p>i want validate my ckeditor with jquery validation,Validation fire on submit event and give error message on that according message</p>
  
  <p>Web Page: 
        </p>
  
  <pre><code>Script:
   jQuery.validator.setDefaults({
                              highlight: function (element, errorClass, validClass) {
                                  if (element.type === "radio") {
                                      this.findByName(element.name).addClass(errorClass).removeClass(validClass);
                                  } else {
                                      $(element).closest('.form-group').removeClass('has-success has-feedback').addClass('has-error has-feedback');
                                      $(element).closest('.form-group').find('span.icon').remove();
                                      $(element).closest('.form-group').append('&lt;span class="icon icon-validation-error"&gt;&lt;/span&gt;');
                                  }
                              },
                              unhighlight: function (element, errorClass, validClass) {
                                  if (element.type === "radio") {
                                      this.findByName(element.name).removeClass(errorClass).addClass(validClass);
                                  } else {
                                      $(element).closest('.form-group').removeClass('has-error has-feedback').addClass('has-success has-feedback');
                                      $(element).closest('.form-group').find('span.icon').remove();
                                      $(element).closest('.`enter code here`form-group').append('&lt;span class="icon icon-validation-right"&gt;&lt;/span&gt;');
                                  }
                              }
                          });
  </code></pre>