Work with them as dates
var now = new Date();
var date = $('#<%=txtDateFrom%>').val();
var ddate = new Date(date);
if(ddate.getMonth() < now.getMonth() + 1)
alert('true');
else
alert('false');
Please note your handling the of edge cases, in other words, you will need logic to also check the year.