How would you use an Html.ActionLink
to render the following link -
<a href="javascript:void(0);"></a>
It may seem silly to do this, but sometimes I need a link that has link functionality (rollover pointers, etc.) but does not go anywhere. And I want to use an Html.ActionLink for code consistency.
I have tried different variations of Html.ActionLink
but I keep getting messages about things not allowed to be null.
Html.ActionLink
but I keep getting messages about things not allowed to be null. I want to use anHtml.ActionLink
for code consistancy, and I want a link to exist, with anything happening when it's clicked. Thanks!