I want to dynamically add spawn to a hull, where the counter letters should be in. Example: A result B results C results etc.
I have received this code which is very good to use numbers, but I do not know what to do to make numbers in letters
each task (i) () () () () () (), {I = i + 1; JQuery (this) .prepend ('& lt; span class = "marker"> "+ i +' & lt; / span & gt; ');});});});Any help is appreciated!
Use it:
Lower case:
jQuery (document) .ready (function () {jQuery ('result ol'). Each (function () {jQuery (this) every (function (i) {jQuery (this) .prepend ('& lt; Span class = "marker" & amp; # '+ (+ 7 +) +'; ');});})}})
Upper case:
jQuery (document) .ready (function () {jQuery ('. (Function (i) {i = i + 1; jquery (this) .prepend ('& Lt; span class = ") marker" & amp; #' + (I + 65) + '; & lt; / span & gt;');});})}}
Of course you will run if you have more than 26 results, then out of the letters
Comments
Post a Comment