For example:
<span class="'"+${Status}+"'">${Name}</span>
I am trying to set my CSS class to the status of the user whose name I am showing.
The above syntax is wrong.
How can I embed a value like ${Status}
in quotes?
For example:
<span class="'"+${Status}+"'">${Name}</span>
I am trying to set my CSS class to the status of the user whose name I am showing.
The above syntax is wrong.
How can I embed a value like ${Status}
in quotes?
Use a single quote delimiter:
<span class='${Status}'>${Name}</span>