asp.net.ph

Skip Navigation Links

removeAttribute Method

DHTML Methods


Removes the given attribute from the object.

Syntax

bSuccess = object.removeAttribute ( "sName"
    [ , iCaseSensitive  ] ) 
Parameters

sName Required. String specifying the attribute name.
iCaseSensitive Optional. Integer specifying whether to use a case-sensitive search to locate the attribute. By default, this value is set to 1 to indicate that the uppercase and lowercase letters in the specified sName parameter must match exactly those in the attribute name. If there are multiple attributes specified with different case sensitivity, the attribute returned might vary across platforms.

Return Value

Boolean. Returns true if successful, or false otherwise.

Remarks

If two or more attributes have the same name ( differing only in uppercase and lowercase letters ) and iCaseSensitive is set to 0, this method removes only the last attribute ( the last to be created with this name ). All other attributes of the same name are ignored.



© 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