by Arnor · 12y ago · 0 comments
...
$(document).ready(function () {
n.Product.listeners();
n.Cart.listeners();
});
...
Ooo... I like that, maybe I'll implement that...Regarding the fetching/posting data, I have an ajax method on the applicable model. Fortunately, I'm writing the server app as well so I got to make some decisions on that end that simplify the approach (e.g. everything goes through POST, all data comes back as JSON.) I suppose that makes the AJAX acronym imprecise... AJAJ?