From dev-return-23001-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Sep 11 08:01:52 2012 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BAA43DBF7 for ; Tue, 11 Sep 2012 08:01:52 +0000 (UTC) Received: (qmail 57915 invoked by uid 500); 11 Sep 2012 08:01:52 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 57846 invoked by uid 500); 11 Sep 2012 08:01:52 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 57824 invoked by uid 99); 11 Sep 2012 08:01:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 08:01:51 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.250.139 is neither permitted nor denied by domain of leningovi@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 08:01:46 +0000 Received: from jim.nabble.com ([192.168.236.80]) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TBLPR-000409-B0 for dev@couchdb.apache.org; Tue, 11 Sep 2012 01:01:25 -0700 Date: Tue, 11 Sep 2012 01:01:25 -0700 (PDT) From: lenin To: dev@couchdb.apache.org Message-ID: <1347350485180-7580895.post@n2.nabble.com> In-Reply-To: <1347348740282-7580894.post@n2.nabble.com> References: <1347340387799-7580890.post@n2.nabble.com> <1347347151388-7580892.post@n2.nabble.com> <1347348740282-7580894.post@n2.nabble.com> Subject: Re: How to fetch particular data from document in couchdb using jquery MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org i tried yr code... but not getting any data.... this is the code $*(document).ready(function() { alert("method calling"); var db = $.couch.db("test"); db.view("sview/lenin", {key:1, success: function(data) { data.rows.map(function(row) { alert("row:"+row.value); }); }, error: function(req, textStatus, errorThrown){ alert('Error '+ textStatus); }}) }); * what i made mistake here.... Data is there for key:1 Thanks in advance.... -- View this message in context: http://couchdb-development.1959287.n2.nabble.com/How-to-fetch-particular-data-from-document-in-couchdb-using-jquery-tp7580890p7580895.html Sent from the CouchDB Development mailing list archive at Nabble.com.