hello I'm trying to capture the event focus and blur for texteditor but not good so far
what I want is make promp function for texteditor
$(function() {
var default_promp = "Texto detallado de su solicitud...";
$('#te').on('blur', function () {
var promp = $.trim($('#te').texteditor('getValue'));
if(promp == ''){
$('#te').texteditor('setValue',default_promp);
}
}).on('focus', function () {
var promp = $.trim($('#te').texteditor('getValue'));
if(promp == default_promp){
$('#te').texteditor('setValue','');
}
});
});