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
Post a Comment