i need to add class to dynamically created span tags so that i can highlight it for some duration of time and then i need to remove it from this span and add class to other span tag.. In short u can say add class and remove class should continues based on time on each of the span tags..