$('.jTinyAjaxajax').jTinyAjax({ url: 'script.php' });
hola
//con tinymceinit() personalizado initTine = { mode : "exact", theme : "advanced", plugins : "spellchecker, pagebreak, style, layer, table, save, advhr, advimage, advlink, emotions, iespell, inlinepopups, insertdatetime, preview, media, searchreplace, print, contextmenu, paste, directionality, fullscreen, noneditable, visualchars, onbreaking, xhtmlxtras, template", theme_advanced_buttons1 : "save,newdocument, |, bold, italic, underline, strikethrough, |, justifyleft, justifycenter, justifyright, justifyfull, |, styleselect, formatselect, fontselect, fontsizeselect", theme_advanced_buttons2 : "cut, copy, paste, pastetext, pasteword, |, search, replace, |, bullist, numlist, |, outdent, indent, blockquote, |, undo, redo, |, link, unlink, anchor, image, cleanup, help, code, |, insertdate, inserttime, preview, |, forecolor, backcolor", theme_advanced_toolbar_location : "top", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true }; $('.jTinyAjaxajax2').jTinyAjax({ url: 'script.php', tinymceinit : initTine });
hola de nuevo
$('.jTinyAjaxajax3').jTinyAjax({ url: 'script.php', UIfy: true, buttonTextEdit: '<span class="ui-icon ui-icon-circle-check"> </span>save', buttonTextCancel: '<span class="ui-icon ui-icon-circle-close"> </span>cancel' });
hola con jquery UI
$('#jTinyAjaxajax4').jTinyAjax({ url: 'script.php', blockUI: true });
hola con BlockUI
$('#jTinyAjaxajax5').jTinyAjax({ url: 'script.php', onClick: function(message){ alert('onClick, mensaje: ' + message); }, onCancel: function(message){ alert('onCancel, mensaje: ' + message); }, onSend: function(message){ alert('onSend, mensaje: ' + message); }, onError: function(message){ alert('onError, mensaje: ' + message); }, onSuccess: function(message){ alert('onSuccess, mensaje: ' + message); }, blockUI: true });
hola con callbacks
$('#jTinyAjaxajax6').jTinyAjax({ url: 'script.php', ajaxTypeData: "json", onSuccess: function(message){ alert('onSuccess, mensaje: ' + message.mensaje); } });
hola con json