couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Matheis <>
Subject Re: simple AJAX request
Date Wed, 19 Jan 2011 08:23:20 GMT
Hey Chris,

"... but get an error. ..." is a bit of no-information :/ which error did
you get? with firefox/firebug or chrome, check your console to access the
accessing your couchdb with the same url works?


On Wed, Jan 19, 2011 at 3:33 AM, Chris Johnson <> wrote:

> I am new to couchdb and have been successfully using it with the python
> libs. I am trying to move to JS, which I am new to as well, and having some
> challenges. I know this is a simple question, so please bare with me. I am
> trying to make a simple ajax call to pull data from a view but get an error.
> I have tried with both the full URL and just he view information with no
> luck. What am I missing?
> <script type="text/javascript" charset="utf-8">
>         $.getJSON("_view/status", function(data) {
>            alert("JSON Data: " + data);
>          });
> </script>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message