Is there a method to automatically number table data in a local or custom language? As a Bengali individual, I have figured out how to automatically number the first data of each row using css and js. However, I am uncertain about how to implement custom numbering systems such as Bangla or Arabic.
Here is an example of my code:
<table border="1">
<tr>
<td>blue</td>
</tr>
<tr>
<td>red</td>
</tr>
<tr>
<td>black</td>
</tr>
</table>
I would like something similar to this;
১. Apple ২. Banana ৩. Orange ৪. Strawberry
How can I achieve this using Javascript / jquery.. Without the use of any third party plugins?