facebook

SLOW JS change value on COMBOBOX

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #336388 Reply

    vacrob0
    Member

    Hi all,

    I’ve created two combobox. When user makes a change on the first one, the second one change too..

    I’ve implemented this JS

    var dinch = $(‘select[name=”DiamIN”]’).val(); //Taking value from first combobox

    // Set value on the MM seconde comboBox

    $(‘select[name=”DiamMM”]’).val(dinch).change();

    My problem is that .change() seems to take until 2 second to make a change of the second combobox value.

    .change() is necessary because using only VAL() makes changes only to the selected value but not on the combobox’s label

    Someone can help me on this?

    Thanks a lot for your support!

    #336389 Reply

    vacrob0
    Member

    On smartphones like sony experia takes until 6 seconds… incredible! why?!

    #336392 Reply

    vacrob0
    Member

    I found that was a problem related to a kind of “infinite loop” between the two comboboxes..

    Now my question is: “How can I detect, throughout JQuery, which combobox was pressed?”

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: SLOW JS change value on COMBOBOX

You must be logged in to post in the forum log in