Trying to add handling for when the selected item changes in a drop-down. However, the Change/Changing events are fired before the drop down panel closes. This is too soon. I need to do some handling after the drop down is closed with the new selected value. Any suggestions?
Trying to add handling for when the selected item changes in a drop-down. However,
Share
You can always rely on the “close” event. Watch for close to happen and pick the selected item for the DDL. In case you want to be sure that CHANGE happened, add both the event listeners i.e. for CHANGE and CLOSE, if CHANGE is called before CLOSE, then you are sure that CHANGE has happened. Hope it helped.