Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/05/2013, 17:32
Avatar de juanito1712
juanito1712
 
Fecha de Ingreso: mayo-2010
Ubicación: Valencia
Mensajes: 1.124
Antigüedad: 14 años
Puntos: 66
Closure no funciona

No se si necesitaré pasar algo mas pero ahi va

Cita:
var botBold=$(tgt+'bold');
botBold.onmouseup = (function(obj){return function(){obj.editor.execCommand('bold', false, null);}})(this);
me lanza el error
Uncaught TypeError: Cannot call method 'execCommand' of undefined

¿Que me pide?