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,
Thanks,
HTML input type="hidden"
Easiest solution, add an id, and use getElementById. Almost. Remove the quotes around "false" to make the argument a boolean and not a string, and you'll have it.
The hidden global attribute is a Boolean attribute indicating that the element is not yet, or is no longer, relevant. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. Browsers won't render elements with the hidden attribute set.
Set CSS display
to none
for textarea
<textarea name="hide" style="display:none;"></textarea>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With