I'm using a InputTextarea with autoresize = "false" from primefaces wanted to see how you could get your height and width using JQuery, this I'm already handling some stuff in a function JQuery but I need to know the height and width of my inputTextarea, I see its height and width depending on when this resizing.
Asked
Active
Viewed 544 times
0
-
Hi Adan, doesn't JQuerys `$(document.getElementById(
– L-Ray Dec 07 '13 at 11:58 -
But if I need this update depending on when this resizing the InputTextarea – adan Dec 07 '13 at 16:19
1 Answers
0
the post Resize event for textarea? describes how to get notified when a resize of a textarea takes place. As function being called, just use something like
$(document.getElementById(<yourInputTextAreasId)).height()
Hope it helps...