A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/ajax/api/ajax_delete_method/ below:

Website Navigation


JavaScript Ajax - delete Method

delete()

sends a DELETE request to the server

delete<T>(url: string, data?: { [key: string]: any; } | string, config?: object): Promise<T>;

Parameters: Returns:

A "promise" of the data object.

Example

dhx.ajax.delete(url, {id: "2"}).then(function (data){
console.log(data);
});

Related sample: Data. Ajax DELETE


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4