Send to server(Ajax)
Sending data to server is a must in every web applications and we have created a simple way to do that using Ajax.
Usage
Here is sample usage;
Parameters
This function has only one object
parameter that is required
Parameter
Required
Type
Description
url
Yes
string
The url to send data.
data
Yes
object
An object with your data.
loader
No
boolean
whether to show loader while sending data or not.
Response
Responses should be JSON, please refer to the server response page for more information.
Last updated