I want to style a certain character in a string via jQuery, but have no clue how to approach that. I have the following situation
I replaced the "i" with a span dynamically:
var jq = $('a'); var text = jq.text().replace(jq.attr('accessKey'), 'i'); jq.html(text);
http://jsfiddle.net/FishBasketGordo/QGEzA/