Search code examples
jqueryselecteddropdown

jquery dropdown keep option selected not working with dropdown js


I am using a jquery function to design a select option, but I am having an issue with the keep option selected.

Can it be changed via external jquery hook or by changing code in the JavaScript file?

I tried to modify the code with no luck.

Here is my fiddle


Solution

  • I have updated fiddle. Please check it.

    My code is herehttps://jsfiddle.net/r6r25ak2/4/