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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -