jQuery post requests with a json response, sans eval()
I know some of you out there are probably tired of jQuery and people raving about it’s goodness, but bare with me! Because jQuery never ceases to amaze me — especially when I haven’t looked at it — or client-side JavaScript code in general — in a good year or so. Refactoring I’ve been refactoring some of my old JavaScript libs on a project and I noticed that I had used evil eval() all over the place to parse the JSON from our API....