API.utils
Summary
API utilities.
Constructor
API.utils
Syntax
API.utils
()
Summary
Item Index
Methods
Methods
ajax
Syntax
ajax
(
-
options
Summary
Ajax method to get or post data.
Parameters:
-
options
ObjectA set of options
- url: The url to call.
- data: The data to send.
- method: The method to use (GET, POST, PUT).
- success: A function to call when the operation is completed with the response in parameter.
- error: A function to call if the operation fails.