Global.helma.Html.element (name, str, attr)
render an arbitrary x/html element

  • Parameter String:
    the element's name
  • Parameter String:
    the element's content
  • Parameter Object:
    the element's attributes
Sourcecode in /home/hannes/helma/modules/helma/Html.js:
148:   this.element = function(name, str, attr) {
149:           renderMarkupPart(name, "<", ">", attr);
150:           res.write(str);
151:           renderMarkupPart(name, "</", ">");
152:           return;
153:       }