How do I fire alert message when clicking on disabled <select> option box?
问题 I want to fire an alert if clicking on a disabled <select> option box. When the <select> box is not disabled it should not fire, regardless if the option within the option select is disabled. It should ONLY fire when the entire <select> box is disabled, regardless if the individual option itself is disabled or enabled. An individual option alone should not effect the alert. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script type='text/javascript'>