Plugin to send and retrieve data to a from a serve using Ajax methods.

Version: 1.2


neoAjaxLoad

Purpose:

Call an API endpoint to load content using AJAX. It sends the result to a subroutine once loaded.

Category:

neoAjax

Syntax:

neoAjaxLoad theUrl theDataType successSubroutine errorSubroutine

 

theUrl

File or data URL to load

theDataType

Data type to be loaded

successSubroutine

Success subroutine

errorSubroutine

Error subroutine

 

neoAjaxLoadEx

Purpose:

Call an API endpoint to load content using AJAX and Headers. It sends the result to a subroutine once loaded.

Category:

neoAjax

Syntax:

neoAjaxLoadEx theUrl "headerObject" theDataType successSubroutine errorSubroutine

 

theUrl

File or data URL to load

headerObject

Header object variable

theDataType

Data type to be loaded

successSubroutine

Success subroutine

errorSubroutine

Error subroutine

 

neoAjaxSend

Purpose:

Call an API endpoint to send and load content using AJAX. It sends the result to a subroutine once loaded.

Category:

neoAjax

Syntax:

neoAjaxSend theUrl theMethod "theData" theDataType successSubroutine errorSubroutine

 

theUrl

URL to send data to

theMethod

Method

theData

Data object variable to send

theDataType

The type of data expected from the server

successSubroutine

Success subroutine

errorSubroutine

Error subroutine

 

neoAjaxSendEx

Purpose:

Call an API endpoint to send and load content using AJAX and Headers. It sends the result to a subroutine once loaded.

Category:

neoAjax

Syntax:

neoAjaxSendEx theUrl theMethod "headerObject" "theData" theDataType successSubroutine errorSubroutine

 

theUrl

URL to send data to

theMethod

Method

headerObject

Header object variable

theData

Data object variable to send

theDataType

The type of data expected from the server

successSubroutine

Success subroutine

errorSubroutine

Error subroutine