I need to filter results between start date and end date selected by datepicker using reference http://linqjs.codeplex.com/ how can I filter based on my calendar inputs.
start date : $('#startdate').val() // MM/DD/YYYY format
end date : $('#enddate').val() // MM/DD/YYYY format
var queryResult = $.Enumerable.From(jsonResultTble)
.Where("??")
.ToArray();
Sample Data:
var jsonResultTble = [{"ItemId":3,"Condition":"Very Good","Seller":"[email protected]","Rating":0,"School":"University of California-Los Angeles","City":" ","State":" ","Comments":"N/A","RetailPrice":0,"ManufactureDate":"4/10/2012 12:00:00 AM","ExpiryDate":"4/10/2014 12:00:00 AM"},{"ItemId":4,"Condition":"Very Good","Seller":"[email protected]","Rating":18,"School":"Mississippi Valley State University","City":" ","State":" ","Comments":"N/A","RetailPrice":0,"ManufactureDate":"1/10/2010 12:00:00 AM","ExpiryDate":"4/10/2016 12:00:00 AM"];