Web.LoadHTML

boolean Web.LoadHTML ( 

string ObjectName,

string HTML )

Example 1

Web.LoadHTML("Web1", "<html><body><p>No need for a temp file.</p></body></html>");

Sets the HTML of the "Web1" web object to be: <html><body><p>No need for a temp file.</p></body></html>. This will display the following text to the end user in the web object: "No need for a temp file."

Example 2

local strHTML = ParseRSSXML(GetPluginRSSXML(__tbComboData[strItem]), HTMLChannelParser, HTMLItemParser)

if ((strHTML) and (strHTML ~= "")) then
    Web.LoadHTML("webOutput", strHTML)
end

Loads the HTML returned by the ParseRSSXML() function into the "webOutput" web object, after ensuring that the returned value is valid and not a blank string.

See also:  Related Actions