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 AEFDEDB2C for ; Tue, 11 Sep 2012 07:32:48 +0000 (UTC) Received: (qmail 76760 invoked by uid 500); 11 Sep 2012 07:32:48 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 76722 invoked by uid 500); 11 Sep 2012 07:32:48 -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 76710 invoked by uid 99); 11 Sep 2012 07:32:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 07:32:47 +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 (nike.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 07:32:41 +0000 Received: from jim.nabble.com ([192.168.236.80]) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TBKxI-0006WA-9l for dev@couchdb.apache.org; Tue, 11 Sep 2012 00:32:20 -0700 Date: Tue, 11 Sep 2012 00:32:20 -0700 (PDT) From: lenin To: dev@couchdb.apache.org Message-ID: <1347348740282-7580894.post@n2.nabble.com> In-Reply-To: References: <1347340387799-7580890.post@n2.nabble.com> <1347347151388-7580892.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 this is my jquery method... var db = $.couch.db(window.location.pathname.split("/")[1]); db.view("myDesign/myView", { success: function(data){ data.rows.map(function(row) { }); }, error: function(req, textStatus, errorThrown){alert('Error '+ textStatus);} }); how to set key value here... explain it.. 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-tp7580890p7580894.html Sent from the CouchDB Development mailing list archive at Nabble.com.