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

HtmlHelperBase<(Of <(<'TModel>)>)>..::..JsAjaxPostForm<(Of <(<'TForm>)>)> Method

JavaScript statement that posts form to action.

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

Syntax


public JsAjaxStatement JsAjaxPostForm<TForm>(
	Dom..::..Form<TForm> form,
	string actionName,
	JsFun success,
	Symbol errorFn
)

Type Parameters

TForm

Parameters

form
Type: Suoranta.WebApp.View..::..Dom..::..Form<(Of <(<'TForm>)>)>
actionName
Type: String
success
Type: Suoranta.WebApp.View.JS..::..JsFun
Success function
errorFn
Type: Suoranta.WebApp.Types..::..Symbol
Error function

Return Value

JsAjaxStatement