Hi dudes,
I added a line to loadFile in my main.js and so I am writing my bindings(scenes) in a separate js file. Everything is good, i test them with console.log and they do appear at the server log.
My question is, can I use jQuery when making AJAX($.ajax()) request to a php file at my hosting?
I won't use any response or something, I just want to send the data and do stuff with it in my php scripts.
Can I use jQuery and make ajax requests?
Re: Can I use jQuery and make ajax requests?
I couldn't find a way to load it.
Re: Can I use jQuery and make ajax requests?
No, you cannot use jQuery. It is rather browser-bound, and might fail in plain JS environment.
You can make requests though. Look for http.request() in developer documentation.
You can make requests though. Look for http.request() in developer documentation.
Re: Can I use jQuery and make ajax requests?
Thanks for the tip.
Works.
Works.