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

101
Views
knowing when option from multiple select box is selected in apache cordova

I am trying to run some code in javascript in an apache cordova app when an option from a multple select box is selected. The code works perfectly in a normal browser, but not in an apache cordova app. Why?

HTML:

<select multiple="multiple" class="multiple_select_class" onclick="multi_select_onclick();">
  <option value='1'>subject1</option>
  <option value='2'>subject2</option>
  <option value='3'>subject3</option>
  <option value='3'>subject3</option>
</select>

JS:

function multi_select_onclick()
{
    console.log('number of options: ' + $('.multiple_select_class option').length );

    $(".multiple_select_class option").off().on( "click", function(e)
    {
        console.log('option klicked');
        
        //more code here
    });
}

In an apache cordova App, 'option klicked' never shows in the console, but in a regular browser, it does.

about 4 years ago · Santiago Gelvez
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!