📅  最后修改于: 2022-03-11 15:04:15.348000             🧑  作者: Mango
/*html*/
/*Function js*/
var select = document.querySelector('#sel'),
input = document.querySelector('input[type="button"]');
select.addEventListener('change',function(){
alert('Yare yare daze');
});
/*RESULT*/
/*When change value trigger alert('Yare yare daze') */