📜  javascript on selected - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:46.337000             🧑  作者: Mango

代码示例1
//you can use "input" for the same result
your_var = document.getElementById('#your_dom_id');
your_var.addEventListener('input', function(){
  //your statement
}