+ 6

How can we make such that :

the variable to return value can be written in {{ }} or (( )) or ({ }) or else in HTML code. for example : <div> ({name}) </div> <script> var name = "SPcoder" ; </script> How can we make such that In above code ({name}) returns "SPcoder" ?

12th Sep 2018, 11:43 AM
Googel
Googel - avatar
3 Answers
+ 5
That's AngularJS two way binding https://www.sololearn.com/learn/1018/?ref=app
12th Sep 2018, 12:27 PM
Burey
Burey - avatar
+ 2
Burey can you do that without any js frameworks ? for example : jQuery, Angular etc.
13th Sep 2018, 10:09 AM
Googel
Googel - avatar
+ 2
Not anything i am familiar with
13th Sep 2018, 11:36 AM
Burey
Burey - avatar