Page 1 of 1

How to code : Click a button and fill in an input?

Posted: Tue Aug 04, 2015 10:32 am
by Elvin Chu

How to code : Click a button and fill in an input?
How to code : Click a button and fill in an input?
How to code : Click a button and fill in an input?
How to code : Click a button and fill in an input?


How to code : Click a button and fill in an input?

Posted: Tue Aug 04, 2015 1:14 pm
by Serhii Kulibaba

Hello Elvin,

Please use preApperyio("inputName").val("sample text");/pre


How to code : Click a button and fill in an input?

Posted: Tue Aug 04, 2015 1:46 pm
by Elvin Chu

thx bro!


How to code : Click a button and fill in an input?

Posted: Tue Aug 04, 2015 1:52 pm
by Elvin Chu

It didn't work :(


How to code : Click a button and fill in an input?

Posted: Tue Aug 04, 2015 1:53 pm
by Elvin Chu

with bootstrap


How to code : Click a button and fill in an input?

Posted: Sat Aug 08, 2015 8:50 pm
by Serhii Kulibaba

Elvin, please follow next steps for AngularJS projects:
1) set ng-model (e.g. "test") property for input component
2) create the same variable on the "scope" tab.
3) create function on the "scope" tab with this code:
$scope.test = "sample test";
4) set this function in the "ng-click" property for the button


How to code : Click a button and fill in an input?

Posted: Sun Aug 09, 2015 2:03 am
by Elvin Chu

Thanks it work now!