0

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.

adan
  • 59
  • 1
  • 7

1 Answers1

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...

Community
  • 1
  • 1
L-Ray
  • 1,637
  • 1
  • 16
  • 29