Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

195
Vistas
Error javascript in TinyMce editor? How about saving data using Name?

I'm using tinyMce editor in my .Net Core project, but the scriptt function of the editor has an id.

<script>
        tinymce.init({
            selector: 'textarea#default'
        });
    </script>

In javascript I already had an id defined for the textarea

        'Desc': $('#p_Ack').val(),//this is how i was adding before the editor was added
        'Desc': $('textarea[name="p_Ack"]').val(),

I tried to save by giving a name but still the text in the textarea is blank. What can I do?

 <textarea  id="default" name="p_Ack"></textarea> 

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If you want to get the content in TinyMCE.You can try to use:

'Desc':tinymce.get("default").getContent(),

or

'Desc':tinymce.activeEditor.getContent(),
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda