I am trying to dynamically add span to ol where the counter should be in letters. for example: Result B result Result C etc, etc.
I have this code that is great for using numbers, but I donβt know what to do with it to make numbers into letters
jQuery(document).ready( function() { jQuery('.results ol').each(function () { jQuery(this).find('li').each(function (i) { i = i+1; jQuery(this).prepend('<span class="marker">' + i + '</span>'); }); }); });
Any help is much appreciated!
source share