jquery 当值改变时触发方法

来源:互联网 发布:directx12优化 编辑:程序博客网 时间:2024/06/05 07:39
$("#id").bind("input propertychange change", function (event) {    
    if (event.type != "propertychange" || event.originalEvent.propertyName == "value") {
                //do function....
        }
});
0 0
原创粉丝点击