How to fire a change event on a HTMLSelectElement if the new value is the same as the old?

后端 未结 8 1540
天命终不由人
天命终不由人 2020-11-28 23:29

I have the following markup:


  
  
  
  

If you want you could have the same label as the first option, which in this case is 1. Even better: put a label in there for the choices in the box.

提交回复
热议问题