Search code examples
javascriptjquerycloud9-ide

How to use jQuery in a cloud9 plugin?


I am currently writing a Cloud9 plugin and would like to use jQuery to retrieve some JSON data from a remote server. However, I don't know how to go about it. Is it even possible to use jQuery in this context?


Solution

  • It's better to not use jquery in the ide, and use http service instead. add http to imports of your plugin and then call http.request(url, options, callback)