I have links which updates some content when the user click the link. The problem is that my users complain that the links aren't turning to the :visited color after they have visited the link. How could I achieve :visited colors to the clicked ajax links.
Sample code. No jsfiddle needed?
element.addEvent('click:relay(a.ajaxlink)', function(event, element){
event.stop();
this.ajaxRequest(element, true); //send request and update content
}.bind(this));
