6 Replies Latest reply: Nov 15, 2011 11:44 AM by Telmo Duarte RSS

    GetText from TextBox via Javascript API

      Hi there,

       

      I'm trying to retreive the Value of an TextBox via the Ajax API...

      Refering to the AjaxAPI documentation there is a method called GetText()...

      I tried this

       

      var myObj = qva.GetQvObject("TX21");   //it's a TextBox Object

      var text = myObj.GetText();

      alert("text");

       

      Unfortunately I'm getting an Error, saying that myObj.GetText is not a function.

      What am i doing wrong?

      any ideas?

       

      help would be much appreciated!

       

      kind regards,

      pat