Pointer to a VARIANT_BOOL that specifies one of the following possible values:
JavaScript
VARIANT_BOOL. Returns one of the following possible values:
VARIANT_TRUE (true)
The attribute was successfully removed.
VARIANT_FALSE (false)
The attribute was not removed.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
IHTMLElement5::removeAttribute always returns S_OK as its HRESULT value. Check the pfSuccess parameter to determine if the attribute is successfully removed.