I'm using the big cartel framework to build a site, and am trying to make an AJAX call - currently without success. My code is as follows:
So, when the user clicks on
#closeDetails - if the condition returns true - find the correct category value (works fine), then use this value to try and retrieve all products from the category, and (for now) simply alert the number found.
Currently the alert simply says "Error:" and Chrome's console says "Failed to load resource: the server responded with a status of 404 (Not Found) - http://www.webaddress.co.uk/products.js?category=category1".