Global.helma.Html.link (attr, text)
render an x/html link element

  • Parameter Object:
    the element's attributes
  • Parameter String:
    the element's content
Sourcecode in /home/hannes/helma/modules/helma/Html.js:
171:   this.link = function(attr, text) {
172:           if (!attr) {
173:               res.write("[Html.link: insufficient arguments]");
174:               return;
175:           }
176:           self.openTag("a", attr);
177:           res.write(text);
178:           self.closeTag("a");
179:           return;
180:      }