So, I have a div that repeats multiple times:
<div class="cmi cm_1_1">
<span class="cm_img">
<i class="icons">icon_1</i>
</span>
<span class="cm_w">
something
</span>
<span class="cm_img">
<i class="icons">icon_2</i>
</span>
<span class="cm_w">
else
</span>
... and so on till cm_1_10
</div>
The only thing that will be different will be icon type and wording inside. But the markup is identical.
I was thinking of doing js rendering on this thus using the same markup over and over again (I will simply pass the wording via ajax).
or, should I render the whole thing in server side(php)?