Documentation set_html/2
available from version beta

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