public static HtmlTree INPUT ( String type , String id ) { HtmlTree htmltree = new HtmlTree ( HtmlTag . INPUT ) ; htmltree . addAttr ( HtmlAttr . TYPE , nullCheck ( type ) ) ; htmltree . addAttr ( HtmlAttr . ID , nullCheck ( id ) ) ; htmltree . addAttr ( HtmlAttr . VALUE , " " ) ; htmltree . addAttr ( HtmlAttr . DISABLED , "disabled" ) ; return htmltree ; }
Generates a INPUT tag with some id .