jquery值发生改变时触发

mac2022-06-30  87

$("#txtId").bind("input propertychange change", function (event) { if (event.type != "propertychange" || event.originalEvent.propertyName == "value") { $(this).css({"border": "1px solid red"}); } });

 

转载于:https://www.cnblogs.com/daixingqing/archive/2013/06/14/3135240.html

最新回复(0)