Source code:
confirm change event on confirmation for a dropdown
Please Select option:
Please Select option
Apple
Pear
Banana
Orange
Output: