Releases: Kir-Antipov/SimpleAjax
Releases · Kir-Antipov/SimpleAjax
SimpleAjax 4.3
- Added onUploadProgress method
SimpleAjax 4.2
- Added onProgress method
SimpleAjax 4.1
- Now form is locked until a response is received
SimpleAjax 4.0
- Bugfix
- Some minor improvements
- Naming change
SimpleAjax 3.0
-
Now ajax response has some new fields:
hasError
(boolean) -true
if server returned an error codeheaders
(object) - dictionary of response headers
-
More options are available now:
headers
(object) - dictionary of request headersbeforeSend
(function(XMLHttpRequest)) - function for modifying a request before sending itbeforeReturn
(function(AjaxResult, XMLHttpRequest)) - function for modifying a response before returning itmodifier
(object) - object with propertiesbeforeSend
or/andbeforeReturn
(works the same as the functions above)
-
Small but useful extension:
- Now
HTMLFormElement
(<form>
) hasaddAjax
function. It will allow you to automatically process the form using ajax
- Now
SimpleAjax 2.0
Fixes and Improvements
- Fixed exception on error codes
- Renamed
responseObject
tovalue
(it was too long) - Now it's possible to pass
HTMLFormElement
as the main argument
SimpleAjax 1.1
- Minor improvements
SimpleAjax 1.0
- Initial release