摘要:
$("#SeatCount, #Charge").on("keyup", function () { if (this.value.replace(/^0|\D/g, '') === "") { this.style.border = "1px solid red"; } else { this.style.border = ""; } });keyup 与change事件会有兼容性问题,在手机上。http://www.cnblogs.com/deng02/archive/200 阅读全文
摘要:
http://theexceptionhandler.com/ 阅读全文