tinyMCE jQuery form validation -


i'm trying use tinymce's getcontent() make custom validation rule, how can jquery validation? need apply rule textarea formatted tinymce.

validation: http://bassistance.de/jquery-plugins/jquery-plugin-validation/

$("#element").click( function(e) { console.log(tinymce.activeeditor.getcontent()); $("#someform").validate({ rules: { title: { required: true } } }); }); 

i'm thinking of using little bit of javascript getcontent() because looks there's effort creating workaround jquery validation working tinymce. thoughts on possible solutions?

the following stackoverflow questions should on issue:


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -