Ver Mensaje Individual
  #20 (permalink)  
Antiguo 16/01/2016, 11:42
Avatar de rodrypaladin
rodrypaladin
Moderador
 
Fecha de Ingreso: abril-2010
Ubicación: Madrid
Mensajes: 2.127
Antigüedad: 14 años, 10 meses
Puntos: 468
Respuesta: contador de palabras sencillo

Código Javascript:
Ver original
  1. getData( internal ) : String
  2.  
  3. Gets the editor data. The data will be in "raw" format. It is the same data that is posted by the editor.
  4.  
  5. if ( CKEDITOR.instances.editor1.getData() == '' )
  6.     alert( 'There is no data available.' );

Ese ejemplo me da. Yo quiero meter el contenido en una variable pero no consigo hacerlo funcionar, algo hago mal con la funcion xd
__________________
No te olvides de dar +1 a quien te echa un cable ;)