6 Replies Latest reply on Jun 22, 2014 10:59 AM by Spout

    Text field height

    Spout Level 1


      Do you know a way to get the textfield area height when inside text change ?


      I explain, I change the text inside a textfield, but after that I need to know the height of this one (that has changing on screen)


      my code (textfield is already with text)


      sym.$("TextIntroduction").html("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nec libero auctor, consectetur elit ac, elementum libero. Praesent euismod, libero non consectetur interdum, elit dui condimentum neque,");


      sym.$("TextIntroduction").height(); // but here I get the original textfield height


      thanks !