addHiddenField
addHiddenField(hiddenFieldName: String; hiddenFieldValue: String) updating;
The addHiddenField method of the JadeHTMLClass class dynamically adds hidden input tags to the HTML page. The parameters for the addHiddenField method are listed in the following table.
Parameter | Description |
---|---|
hiddenFieldName | Name of the hidden field |
hiddenFieldValue | Value for the hidden field, which is the value that is returned by the Web browser unless it is changed by script |
The code fragment in the following example shows the use of the addHiddenField method.
addHiddenField("mySession", "2003");
This example adds the following to the HTML page.
<input type "hidden" name = "mySession" value = "2003">