There are a list of links on a page and some of them are already visited by me. I have to make them invisible after any action(checking a checkbox, clicking button, etc). >
ok, so try this
in your css file
.foo a:visited{ display:none; }
in your javascript
$('button').on('click', function(e){ $('ul').addClass('foo'); })