I have a textbox field with id="textbox1". How do I set its value?
This is what I tried:
query('#textbox1').text = 'test 123';
But it did not work.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Tips : When you use
querySelector(selector)you can type the result with what you expect (aInputElementhere). Thus, editor will provide content assist to help you.