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

  • Parameter Object:
    the element's attributes
Sourcecode in /home/hannes/helma/modules/helma/Html.js:
224:   this.input = function(param) {
225:           if (!param) {
226:               res.write("[Html.input: insufficient arguments]");
227:               return;
228:           }
229:           var attr = Object.clone(param);
230:           attr.type = "text";
231:           if (!attr.size)
232:               attr.size = 20;
233:          attr.value = (attr.value != null) ? encodeForm(attr.value) : "";
234:          self.tag("input", attr);
235:          return;
236:      }