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

  • Parameter Object:
    the element's attributes
Sourcecode in /home/hannes/helma/modules/helma/Html.js:
348:   this.submit = function(param) {
349:           if (!param) {
350:               res.write("[Html.submit: insufficient arguments]");
351:               return;
352:           }
353:           var attr = Object.clone(param);
354:           attr.type = "submit";
355:           if (!attr.name)
356:               attr.name = attr.type;
357:          attr.value = (attr.value != null) ? encodeForm(attr.value) : attr.type;
358:          self.tag("input", attr);
359:          return;  
360:      }