简体   繁体   中英

.change event fired twice in Opera

Why is .change event fired twice on input type=number fields in opera (im using version 12.14 build 1738)?
Works perfectly ok in all other browsers. If i change to type=text for example, it works as intended. See example at http://jsfiddle.net/936mn/

 $(function(){  
    $('.inter').change(function(){  
    alert("huh");});
 });

这在这里工作正常,但可能是Opera中与您正在使用的平台集成的错误。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM