none
Drop down List Selected index not firing

    Question

  • Hi all,

    I have one issue Drop down List Selected index not firing. The scenario is as following -

    1) I have a drop down list containing attached file name and attachment visible area with next,previous buttons

    2) When we select drop down showing the corresponding attachment( the selected index change event working fine)

    3 when we use next /previous option changing attachment and change the drop down list index using jquery turn (its also working fine)

    4 after index change of drop down using jqury i have tried to change the drop down then the event is not firing (there is an issue)

    why Drop down List Selected index not firing after selected index using jquery?

    the jquey code like this...

        for (var i = 0; i < dd.options.length; i++) {
            if (dd.options[i].value === _attachmentCode) {
                dd.selectedIndex = i;
           
                break;
            }
        }

    Friday, February 12, 2016 10:48 AM

Answers