ajax
ajax copied to clipboard
Uncaught TypeError: object is not a function
I'm not sure why this isn't working. I am using the library from npm.
ajax({
method: "DELETE",
url: "/api/v1/useraccount_settings/quick_work_sites/1"
});
ajax exists, and i can call ajax.get(); etc, but I can't use the syntax described on the readme.