This content has been marked as final.
Show 2 replies
-
1. Re: h:inputTextarea resizeable
sivaprasad9394 Nov 16, 2012 9:25 AM (in response to mabu2)Hi,
try like,i think you dont have any min max value like textbox.
<h:inputTextarea id="txtAreaStream" value=" " onkeyup="limitTextArea(this,255);" onkeydown="limitTextArea(this,255);"> </h:inputTextarea>
<script>
function limitTextArea(element, limit){ if (element.value.length > limit){
element.value = element.value.substring(0, limit);
}
}
</script>
Or else
try implement jquery for the text box.
Thanks,
Siva
-
2. Re: h:inputTextarea resizeable
liuliu Nov 19, 2012 3:28 AM (in response to mabu2)hi,
if you are under firefox, use textarea {resize:none} in your css.
there are some others attributes too.