couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ernesto Freyre <efre...@itacademy.ec>
Subject Re: simple AJAX request
Date Wed, 19 Jan 2011 07:02:12 GMT
<script type="text/javascript" charset="utf-8">
        $.getJSON("_view/status", {prop1: val1, prop2: val2, ..., propN:
valN}, function(data) {
           alert("JSON Data: " + data);
         });
</script>

access to _view/status?prop1=val1&prop2=val2&...&propN=valN and try to parse
the response as JSON data. Null if not correctly parsed.

Saludos

Ernesto

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