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.

Reply via email to