I need to pass in a function the clicked element using @Ajax.ActionLink, this function will be runing at OnSuccess, normaly in jQuery we use $(this), but with @Ajax.ActionLink does not work. Is there any other way of doing this ?
@Ajax.ActionLink(Model._friends, "HistoryFriends", "Notification", new AjaxOptions{UpdateTargetId="category-result", OnSuccess = "activeThis(this, '.ctg-active')", OnFailure = "error"})
as you can see, I'm trying to pass this to the function activeThis(this, '.ctg-active'), but can't get it to work.