Temporary Disabled. :) please Go back replaceAdjacentText Method (A, ABBR, ACRONYM, ...) www.fgks.org » Address: [go: up one dir, main page] Include Form Remove Scripts Accept Cookies Show Images Show Referer Rotate13 Base64 Strip Meta Strip Title Session Cookies Language Filter Visual Basic C# C++ J# JScript XAML replaceAdjacentText MethodReplaces the text adjacent to the element.SyntaxoldText = object.replaceAdjacentText(sWhere, sReplaceText)ParameterssWhere Required. A String that specifies where to locate the replacement text, using one of the following values. beforeBeginReplaces text immediately before the element.afterBeginReplaces text after the start of the element, but before all other content in the element.beforeEndReplaces text immediately before the end of the element, but after all other content in the element.afterEndReplaces text immediately after the end of the element.sReplaceText Required. A String that specifies the replacement text.Return ValueA pointer to a String returning the old text.Standards Information There is no public standard that applies to this method. Applies To A, ABBR, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BDO, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, HEAD, hn, HR, HTML, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, nextID, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMPSee AlsoapplyElement, getAdjacentText, insertAdjacentElement MSDN LibraryWeb DevelopmentHTML and CSSHTML and DHTML ReferenceMethodsreplaceAdjacentText
Replaces the text adjacent to the element.
Syntax
oldText = object.replaceAdjacentText(sWhere, sReplaceText)
Parameters
sWhere Required. A String that specifies where to locate the replacement text, using one of the following values. beforeBeginReplaces text immediately before the element.afterBeginReplaces text after the start of the element, but before all other content in the element.beforeEndReplaces text immediately before the end of the element, but after all other content in the element.afterEndReplaces text immediately after the end of the element.sReplaceText Required. A String that specifies the replacement text.
beforeBegin
afterBegin
beforeEnd
afterEnd
Return Value
A pointer to a String returning the old text.
Standards Information
There is no public standard that applies to this method.
Applies To
A, ABBR, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BDO, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, HEAD, hn, HR, HTML, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, nextID, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMP
See Also
applyElement, getAdjacentText, insertAdjacentElement