jquery - Validate TINYMCE before form submission? -
i using js.validate plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/)
im using tinymce.
upon form submission save content of tinymce it's text area:
var content = tinymce.activeeditor.getcontent(); $('#article').val(content);
my question is, how can validate using js validate?
i've tried:
rules: { article: 'required' },
article name of text area. not work, no error coming up.
thanks
Comments
Post a Comment