Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $( "#tabs" ).tabs({
- load:function(event, ui){
- if(ui.index==5){
- if(typeof TinyMCE == "undefined") {
- tinyMCE.init({
- // General options
- mode : "specific_textareas",
- editor_selector : "mceEditor",
- theme : "simple",
- });
- }
- var note = tinyMCE.get('note').getContent()
- // the_editor_id equals the id of the underliing textarea
- tinyMCE.execCommand('mceRemoveControl', false, the_editor_id);
Add Comment
Please, Sign In to add comment