Below is a small sample of my table. I will be collecting user data, and returning a rate. Is there a library or module to do this kind of query, or do I have to write something manually? So if my user is 23, goodDriver, does not have home insurance, the rate should come back as 2.00. This needs to be on the client side and work in Chrome, FF, Safari, and IE 9. thanks
var rateTable = [
["lowerAge", "upperAge", "goodDriver", "hasHomeInsurance", "rate"],
["20", "30", true, true, 1.00],
["20", "30", true, false, 2.00],
["20", "30", false, true, 3.00],
["20", "30", false, false, 4.00]
]