2022.2

Table Of Contents
Function Description
"remove()"on
page1265
RemovesanHTMLelementorasetofHTMLelementsfromthedocument.
"removeAttr()"on
page1266
Removesthespecifiedattributefromeachelementinthisresultset.
"removeClass()"on
page1267
RemovesthespecifiedclassfromanelementorfromeachelementinasetofHTMLelements.Hasnoeffectiftheclassisnot
present.
"replaceWith()"on
page1267
ReplacesanHTMLelementorasetofHTMLelements(withasnippet,forexample).Returnstheresultset.
"show()"on
page1268
ShowstheHTMLelementorasetofHTMLelements.
size() Getsthenumberofelementsinthisresultset.Equivalenttothelengthproperty.
"tagName()"on
page1268
ReturnstheHTMLtagnameofthefirstelementinthisresultset,inuppercase.Foranexamplesee:"CreatingaTableOfCon-
tents"onpage852.
"text()"onpage1269 ReplacesthetextcontentofanHTMLelementorofeachelementinasetofHTMLelementswiththesuppliedvalue,orreturns
thetextcontentofthefirstelementifnovalueissupplied.
"width()"on
page1269
Getsorsetstheouterwidthofanelement,includingpaddingandborders.
info()
ReturnspaginationinformationforoneHTMLelementorforthefirstelementinaresultset(see"res-
ults"onpage1301)ofaqueryacrossallsectionsinaPrintcontext(see"query(selector)"on
page1300).
ThereturnedinformationisofthetypePaginationInfo(see"PaginationInfo"onpage1300).
ThisfunctioncanonlybeusedinaPostPaginationScript;see"PostPaginationScriptAPI"on
page1297.
Foranexamplesee:"CreatingaTableOfContents"onpage852.
overflows()
Theoverflows()methodreturnsabooleanvalueindicatingwhetheranHTMLelementoverflowsits
boxboundaries.
Page 1304