Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查文本框中输入的日期是否大于今天的日期?从文本框中检索的格式,例如 14/05/2013
var entered_date = $("#txtBox1").val(); var today = new Date(); if(entered_date>today) { //... }