Is it possible to use jQuery selectors/DOM manipulation on the server-side using Node.js?
in 2016 things are way easier. install jquery to node.js with your console:
npm install jquery
bind it to the variable $
(for example - i am used to it) in your node.js code:
var $ = require("jquery");
do stuff:
$.ajax({
url: 'gimme_json.php',
dataType: 'json',
method: 'GET',
data: { "now" : true }
});
also works for gulp as it is based on node.js.