Page 2 of 2

Angularjs get input's text via a javascript

Posted: Mon Sep 14, 2015 9:22 am
by Elvin Chu

Help


Angularjs get input's text via a javascript

Posted: Mon Sep 14, 2015 1:16 pm
by Serhii Kulibaba

Elvin,

Please follow steps below:

1) create storage variable "test" with the next model (http://prntscr.com/8g7oad)
2) add attribule ng-model=test.input to the input component:
3) use anywhere you want it's value:
codealert($scope.test.input);/code


Angularjs get input's text via a javascript

Posted: Mon Sep 14, 2015 10:47 pm
by Elvin Chu

Thanks it work !! I just want to ask plans problem coz I will buy one it will expire right?


Angularjs get input's text via a javascript

Posted: Tue Sep 15, 2015 10:52 am
by Evgene Karachevtsev

Hello Elvin,

Sorry I'm not sure I understand you correctly, could you please clarify your question with some details?