Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

171
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!