Dropdown change even is not firing as soon i set the dropdown value from javascript function RRS feed

  • Question

  • Hi 

    I have a javascript function like below to call this function when dropdown value changes.



    do something



    This above function is calling and working when i change the value of dropdown phisically and manually.

    Issue - The Above change function is not calling when i set a value(like below) to 'Dropdownid' from another javascript function.


    what i should do call Change javascript function when i set value(selected) to dropdrop  from the code.



    • Moved by CoolDadTx Wednesday, August 7, 2019 1:53 PM ASP.NET related
    Wednesday, August 7, 2019 6:07 AM


  • $('#Dropdownid').value('All').change(); // note: call change without parameter to invoke handler

    This is jQuery question, please ask at the ASP.NET forum next time.

    • Marked as answer by Sunil A M Wednesday, August 7, 2019 6:30 AM
    Wednesday, August 7, 2019 6:24 AM