Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

JsAjaxStatement Constructor (JsExpression, JsExpression, JsFun, Symbol)

Return Value

JavaScript statement to perform HTTP Ajax Post operation to endpoint

Namespace:  Suoranta.WebApp.View.JS
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public JsAjaxStatement(
	JsExpression endpoint,
	JsExpression dataExpr,
	JsFun successFn,
	Symbol errorFn
)

Parameters

endpoint
Type: Suoranta.WebApp.View.JS..::..JsExpression
dataExpr
Type: Suoranta.WebApp.View.JS..::..JsExpression
successFn
Type: Suoranta.WebApp.View.JS..::..JsFun
Success function, see NotifySuccess
errorFn
Type: Suoranta.WebApp.Types..::..Symbol
Error function