Ver Mensaje Individual
  #5 (permalink)  
Antiguo 11/05/2010, 01:23
sysmaya
 
Fecha de Ingreso: agosto-2007
Ubicación: Duitama Boyaca Colombia
Mensajes: 18
Antigüedad: 17 años, 5 meses
Puntos: 1
Respuesta: Problema con editores WYSIWYG

Cuando se carga el nicEdit, ya no existe el Textarea, toca "hablar" con el objeto que se creo.


nicEditors.findEditor('myArea2').setContent('<stro ng>Some HTML</strong> here');

lee la API:
http://wiki.nicedit.com/Javascript+API

ese codigo se puede usar en conjucion con Jquery

myArea2 es el textare (el id) y el resto es coser y cantar