diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jqTree/static/examples/autoescape.js')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jqTree/static/examples/autoescape.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/static/examples/autoescape.js b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/autoescape.js new file mode 100644 index 00000000..26b7173f --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/jqTree/static/examples/autoescape.js @@ -0,0 +1,19 @@ +$(function() { + var data = [ + { + name: 'examples', + children: [ + { name: '<a href="example1.html">Example 1</a>' }, + { name: '<a href="example2.html">Example 2</a>' }, + '<a href="example3.html">Example 3</a>' + ] + } + ]; + + // set autoEscape to false + $('#tree1').tree({ + data: data, + autoEscape: false, + autoOpen: true + }); +}); |