Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Angularjs get input's text via a javascript

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

Elvin Chu
Posts: 0
Joined: Sat Apr 11, 2015 2:52 pm

Angularjs get input's text via a javascript

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Angularjs get input's text via a javascript

Hello Elvin,

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

Return to “Issues”