Documentation Prolog Predicate Reference dom set_html/2

set_html/2

Set the HTML of an HTML element.

Description

set_html( +htmlObject, +term )

set_html(HTMLObject, InnerHTML) sets the html of HTMLObject to InnerHTML. set_html always succeeds, unless HTMLObject is the document object, in which case the predicate fails without returning an error.

Implementation