Global.helma.Html.password (attr)
render an x/html password input element

  • Parameter Object:
    the element's attributes
Sourcecode in /home/hannes/helma/modules/helma/Html.js:
750:   this.password = function(attr) {
751:           if (!attr) {
752:               res.write("[Html.password: insufficient arguments]");
753:               return;
754:           }
755:           attr.type = "password";
756:           if (!attr.size)
757:               attr.size = 20;
758:           self.tag("input", attr);
759:          return;
760:      }