I\'ve just written this regular expression in javaScript however it doesn\'t seem to work, here\'s my function:
function isGoodDate(dt){ var reGoodDate =
Add this in your code, it working perfectly fine it here. click here http://jsfiddle.net/Shef/5Sfq6/
function isGoodDate(dt){ var reGoodDate = /^(?:(0[1-9]|1[012])[\/.](0[1-9]|[12][0-9]|3[01])[\/.](19|20)[0-9]{2})$/; return reGoodDate.test(dt);
}