In html for textbox it can be hidden by using
<input type="hidden" name="hide"/> but for TextArea if I want to hide how should I use?
Anyone help me please,
This question is tagged with
~ Asked on 2012-09-07 07:53:02
none for textarea
<textarea name="hide" style="display:none;"></textarea>
~ Answered on 2012-09-07 07:53:59
<input type=hidden> element is not a hidden input box. It is simply a form field that has a value set via markup or via scripting, not via user input. You can use it for multi-line data too, e.g.
<input type=hidden name=stuff value= "Hello world, how are you?">
If the value contains the Ascii quotation mark ("), then, as for any HTML attribute, you need to use Ascii apostrophes (') as attribute value delimites or escape the quote as
<input type=hidden name=stuff value="A "funny" example">
~ Answered on 2012-09-07 08:01:52