Resuelto:
Código Javascript
:
Ver original// Check if each letter has one word load.
var checkLetter = function(data){
getTag(data, 'data').each(function() {
getTag(this, 'item').each(function() {
getTag(this, 'word').each(function() {
var toCheck = $(this).text();
//Words are empty?
var checked = isPresent(toCheck);
$(checked).each(function(key) {
$('.abc li a').each(function () {
letters = $(this).text();
if(letters == toCheck[key]) {
//Add "active" class to each letter if word not empty.
$(this).parent().addClass('active');
}
});
});
});
});
});
};