Does anyone know of a Javascript library (e.g. underscore, jQuery, MooTools, etc.) that offers a method of incrementing a letter?
I would like to be able to do somet
You can try this
console.log( 'a'.charCodeAt(0))
First convert it to Ascii number .. Increment it .. then convert from Ascii to char..
var nex = 'a'.charCodeAt(0); console.log(nex) $('#btn1').on('click', function() { var curr = String.fromCharCode(nex++) console.log(curr) });
Check FIDDLE