我想在单击时更改链接颜色,链接是基于 ajax 的,我尝试了很多但没有成功我该如何更改更改,请求操作正在此页面上进行。
<div class="topheading-right">
<span>
<?php echo $this->Manager->link('Archived Events', array('a'));?>
</span>
<?php echo $this->Manager->link('View All', array(''));?>
</div>
</div>
<div id='events-event_list' class='dashboard-<?php echo __l($product_name);?>s'>
<?php echo $this->requestAction(array('controller'=>'events', 'action'=>'view_event_list', $is_archive), array('return'));?>
</div>
我怎样才能做到这一点?提前致谢