4 Replies Latest reply on Dec 20, 2017 10:35 AM by pbesong

    how to get the value from a text input component?

    pbesong Level 1

      I have a text input component (since HTML5 doesn't support text input) that i've named "a1".

      How do I get the value of that component that the user enters when I click my "check" button?

       

      alert(this.a1.value) does not work.