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

169
Vistas
Is there a select-option version of div contenteditable?

I am inserting a small editable select-option in a html form. But i don't want to send it. So i need a select-option version of this

<div contenteditable="true">
  This text can be edited by the user.
</div>

Something like that

<div select="true">
  <div option="true"></div>
  <div option="true"></div>
  <div option="true"></div>
</div>

Is there a an easy way to achieve it without using js?

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

0

If you just have a normal select with some options but don't have a name attribute the selected option will not be submitted:

  <select>
  <option>a</option>
  <option>b</option>
  </select>

So the select can be contained within, and formatted as part of, the form element with no problem,

If you have a name attribute but with an empty name string then it seems browsers will submit the value but with nothing before the =

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