asp.net.ph

Skip Navigation Links

getAdjacentText Method

DHTML Methods


Returns the adjacent text character.

Syntax

object.getAdjacentText ( sWhere ) 
Parameters

sWhere Required. Specifies the position where the text is located. This position can be one of the following:

beforeBegin Inserts the text immediately before the element.
afterBegin Inserts the text after the start of the element but before all other content in the element.
beforeEnd Inserts the text immediately before the end of the element but after all other content in the element.
afterEnd Inserts the text immediately after the end of the element.


Return Value

First adjacent text character.



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note