… a fix is also needed in file jquery.couchdb.js when a returned data type is anything other than "json" (e.g. like "html" for a list/show) query:
1036 complete: function(req) {
1037 try {
1038 var resp = httpData(req, "json");
1039 } catch(e) {
line 1038 SHOULD be :
1038 var resp = httpData(req, ajaxOptions.dataType || "json");
Now, it works on my side!
Cheers
Joel
