As shown in the picture, an event is triggered when the user selects customization. How to write it.
我想大声告诉你2017-05-16 13:28:47
$('.xx').on('change',function(){
if($(this).val()=="星期一"){
alert("我是自定义");
}
})
过去多啦不再A梦2017-05-16 13:28:47
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(){
});