couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Altmann <>
Subject CouchDB remote JavaScript Calls
Date Wed, 04 May 2011 22:16:14 GMT
Hi everybody,

I'm a litte desperate. Perhaps you could help me. I'm now trying for
hours to connect to a couchdb server via javascript.
Do you have a good example how I can perform a JSON call to a database
in JS? I tried several libraries like accompagnied couch.js, jqcouchdb
( or via XMLHTTPRequest
( Best
it would be, if I could get the data from the external url of the
database, because of easy coding with Aptana - but I think it's not
possible because of Cross-Site-Scripting issues. My CouchDB now is
opened at I got a connection inside
the server with the PHP tutorial
( So I tried to get these
results to JavaScript: , but
JS crops the result (see alert).

Help, would be really appreciated.

Best regards,


View raw message