Hi,
I have a value from a database (a numerical score) that I need to add to a span element to show a specific star rating with a sprite:
span class="rating-static rating-25"/span
When mapping the score to a html component i have in a list item, I'd like the html component to contain the following code:
span class="rating-static rating-\" + value + \"" //value being the score.
However I only seem to get the numerical value when testing the app (i.e. it just shows 25 and none of span html.
Any suggestions how to do this?
Thanks/span