0
business is as follows: I want to play a value of a js variable to become the id of a div in html.
<script>var x= 3;</script>
<div id = "{x}"></div>
above is a visual example pq probably there is no way to give Property Binding with pure javascript. please help me!!
However, if you didn’t have Angularjs (v1) it wouldn’t work
– Costamilam