18 Replies Latest reply on Oct 24, 2018 11:01 AM by ClayUUID

    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.