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

144
Views
Change select tag option in cefsharp winforms

I'm trying to change select tag options using this code in cefsharp

Browser.MainFrame.ExecuteJavaScriptAsync("document.getElementById(\"REG_CATSEQ\").selectedindex = 1;");

This is the select code

<select id="REG_CATSEQ"  name="REG_CATSEQ"  class="form-control select2">
                      <option value="">Select a value...</option>
                                                  <option value="1">تسجيل لأول مرة</option>
                                                  <option value="2">الواقعات الحياتية</option>
                                            </select>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Looks like you have made a typo. Both languages are case sensitive. https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex

Browser.MainFrame.ExecuteJavaScriptAsync("document.getElementById(\"REG_CATSEQ\").selectedIndex = 1;");
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!