Global.helma.Html.hidden (param)
render an x/html hidden input element

  • Parameter Object:
    the element's attributes
Sourcecode in /home/hannes/helma/modules/helma/Html.js:
197:   this.hidden = function(param) {
198:           if (!param) {
199:               res.write("[Html.hidden: insufficient arguments]");
200:               return;
201:           }
202:           var attr = Object.clone(param);
203:           attr.type = "hidden";
204:           attr.value = (attr.value != null) ? encodeForm(attr.value) : "";
205:           self.tag("input", attr);
206:          return;
207:      }