javascript - send content from node.js to jade -
How can I return the contents of an existing view ('index.jade') document without reloading the entire page Am I content only of a div?
This is a search and it is going to be updated on every keyword with which many sites will be updated in other cases,
I am grateful for all help!
node
function pageist (item) {var db = db_login; Console.log (items) items.for each (function (item) {console.log (item) db.collection ('insight') FindById (item._id, function (error, document) {console.log (document) If (error || | document) {res.render ('error', {});} and {console.log (document.insightheader) // SEND BACK CONTENT}}}}}}
Comments
Post a Comment