javascript - How does jquery give the select option an event that is triggered when it is clicked, as shown in the figure. If you select a custom trigger time?
仅有的幸福
仅有的幸福 2017-05-16 13:26:47
0
2
671

As shown in the picture, an event is triggered when the user selects customization. How to write it.

仅有的幸福
仅有的幸福

reply all(2)
我想大声告诉你

$('.xx').on('change',function(){

if($(this).val()=="星期一"){
    alert("我是自定义");
}

})

过去多啦不再A梦

Select different events according to your actual business needs. The select tag is used here. It is recommended to use the change event.
Example:
$('.xx').change(function(){

});

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template