2022.2

Table Of Contents
} else {
this.hide();
}
Note: Inascriptthathasitsscopesetto"Eachmatchedelement",theresultsobjectisstill
accessible,andcanbeusedinanon-iterativeway(forexample,youcoulduseitslengthprop-
ertytodeterminethetotalnumberofmatchedelements)butiteratingoverresultswillproduce
awarning.
Properties
Field Type Description
id
Number Indexintheresultset,orzeroifthiselementisnotpartofaresultset.
record
Record Representsthecurrentdetailrecordina(possiblynested)detailtableassociatedwithrepeatingrowsin
aDynamicTable.Thispropertyisonlyavailablewhenthisisaroworchildelementofarowina
DynamicTable.(SeeDynamicTable.)
Ifthis(thecurrentQueryResultinstance)cannotbematchedtoadetailrecord,this.recordisnull.
runningTotal
Number Canbeusedtoupdatearunningtotal.Itisinitializedtozerowhenaloopoverresultsstarts.
Functions
Thefunctionsbelowcanbecalledbytheresultsobjectandbyanyotherresultsetthatisreturnedby
aquery,see"query()"onpage742.
Function Description
"add()"onpage784 AddselementstothecurrentHTMLelement.
"addClass()"on
page785
AddsthespecifiedclasstothecurrentHTMLelement.Hasnoeffectiftheclassisalreadypresent.
"after()"onpage786 InsertscontentafterthecurrentHTMLelement.
"append()"on
page788
InsertscontentattheendofthecurrentHTMLelement.
"attr()"onpage791 ChangesthegivenattributeofthecurrentHTMLelementwiththegivenvalue.
"before()"on
page792
InsertscontentbeforethecurrentHTMLelement.
Page 781