Plugins & Ajax #3771
vipers-web-design
started this conversation in
Ideas
Plugins & Ajax
#3771
Replies: 2 comments 1 reply
-
https://nodejs.org/en/blog/announcements/v18-release-announce/#fetch-experimental https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest Both fetch() and XMLHttpRequest() are not supported out of the box by Node.js if your code runs on the Node.js runtime. You must recognize that these two functions are browser APIs. @vipers-web-design |
Beta Was this translation helpful? Give feedback.
0 replies
-
This website has a few dozen functional fetch() requests already. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does Ajax work with plugins?
I'm trying to use fetch(), but getting the error "fetch is not defined".
Then I switch to XMLHttpRequest(), and get "XMLHttpRequest() is not defined".
What I'm trying to do is build a social network, and I'm working on the "status box placeholder", like on Facebook where you see "What's on your mind, {your firstname}?"
I have;
The ajax in a plug-in would return "{your firstname}?", and then I'd have to merge them.
Beta Was this translation helpful? Give feedback.
All reactions