just use the jQuery datepicker UI library and convert both your strings into date format, then you can easily compare. following link might be useful
https://stackoverflow.com/questions/2974496/jquery-javascript-convert-date-string-to-date
cheers..!!