The select drop-down menu option item triggered by jquery implements an event:
In many applications, selecting a select drop-down option will trigger an event and perform the corresponding operation.
The following is a code example to introduce how to use jquery to implement this function. The code is as follows:
蚂蚁部落
The above code selects all options except the first item and writes the value into the div.
For more jquery selection select drop-down menu option items trigger events, please pay attention to the PHP Chinese website for related articles!