tableAddInput
tableAddInput(inputType: String; attr: String; name: String; value: String): String;
The tableAddInput method of the JadeHTMLClass class returns a string containing the <td> tag input type and name, attribute, and value set by the inputType, attr, name, and value parameters. The parameters in this method are listed in the following table.
Parameter | Description |
---|---|
inputType | Any valid <input> tags (for example, text) |
attr | <td> tag attributes |
name | Name of the input type |
value | Initial value for the input type |
As there are no equivalent properties that correspond to these input tags, you must reimplement the processRequest method and use the getHttpValue method to obtain the value of these tags when the response is returned from the Web browser.
The code fragment in the following example shows the use of the tableAddInput method.
tableAddInput("text", "align=middle", "ghost_town", "Denniston");
This example returns the following.
<td align=middle><input type=text name=ghost_town value=Denniston></td>