A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/HTMLTableElement/deleteCaption below:

deleteCaption ยท WebPlatform Docs

deleteCaption

Method of dom/HTMLTableElementdom/HTMLTableElement

Syntax
var object = object.deleteCaption();
Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Examples

This example uses the deleteCaption method to delete the caption element from the table.

document.all.myTable.deleteCaption()
Notes Remarks

If there are multiple captions in the table, the deleteCaption method deletes only the first caption and all its contents.

Syntax Standards information See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4