dojox.html.set

Status: Draft
Version: 1.0
Authors: Sam Foster
Bill Keese
Frederic ?
Available:since 1.2

Extensions to content setting utilities in dojo.html

Introduction

dojox.html.set and its helper dojox.html._ContentSetter extend the content-setting available in their dojo.html counterparts, by adding support for executing scripts, adding style. The _ContentSetter provides this functionality to the dojox ContentPane.

While loading content with script and style blocks is perhaps a questionable practice, there are valid use cases, and times when this is the only option available.

Usage

1
2
3
4
5
 dojox.html.set(node, htmlString {
     executeScripts: true,
     scriptHasHooks: false,
     renderStyles: true
 });

See also

  • TODO: links to other related articles

dojox/html/set (last edited 2009-05-21 10:05:59 by sfoster)