Answer the question
In order to leave comments, you need to log in
Is it possible to use the $.ajax() function on the node.js side?
I'm looking at node.js and the following question arose:
As far as I understand, it is possible to connect jQuery as a module:
Is it possible to send a request using $.ajax() ? Not process it on node.js, namely send it?
Now when I try to call $.ajax() I get the following error:
var $ = require('jquery')
jQuery requires a window with a document
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question