On click of html.actionlink change the hyperlink colour
i have html.actionlink like this<%=Html.ActionLink("click here", "tes", "test", new{filename="a"}, new {@class="", @target="_blank", onclick=TestMethod('"param value"')})%>
function TestMethod(param)
{
ajax call here
}
I have hyperlink value as 'Click here' with a default colour. Now on click of 'Click here' i need to change the color to gray. How to achieve this