Skip to content

Transmission Data

Ralf Bitter edited this page May 5, 2023 · 1 revision

ASYNergy provides an asyn:transmit directive that allows the values of any element to be added to the payload. This works even if the ASYNergy attribute value of the element is different from the attribute value of the "mutable" element.

<input type="checkbox" value="loud" asyn:transmit="loudCB" />

The rigAsynElemData() function of the revIgniter ASYNergy library returns the value, innerText, innerHtml etc. of elements that have an asyn:model directive, as well as elements that have an asyn:transmit directive.

if rigAsynElemData("loudCB") is "loud" then

  put tResponse & "!" into tResponse
	
end if
Clone this wiki locally