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

185
Views
Select2 - search function keyword

my first time to use stackoverflow and i just want to ask question.

im using select2 for my search function and i want something like this

<select class="select form-control" name="state" onchange="searchMenu(this)">
  <option value="" selected hidden></option>
     @for (int i = 0; i < Menu2.Count; i++)
       {
        <option class="form-control" value="some-url" title="some-tooltip">(name) (hidden name)</option>
       }
</select>

I want to have a part on my option name to be hidden but still can be searchable (works like a keyword). Thank you

about 4 years ago · Juan Pablo Isaza
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!