I have a form with about 10 small tinyMCE editors, when I click the Disable button, I want these fields to be read-only? Is this possible if you do not have an id. Can I do this using any method, maybe JavaScript, jQuery?
I tried these methods but not working
tinyMCE.init( {mode: "none",readonly : true });
$('input, select, textarea').attr('disabled', 'disabled');
source
share