1

I am working on ASP.NET MVC4 application and i want to set tabindex on Html.Actionlink.

But i am unable to do that.

How can i set the tab index on html.actionlink in ASP.NET MVC4 ?

4

2 回答 2

2

你试过这个

@Html.ActionLink("Link Name ", " ActionName ",new { @tabindex= 1 })

你也可以试试

$("#hyperlinkID").attr('tabindex','1');

于 2013-07-10T06:56:10.587 回答
0
@Html.ActionLink("Link Name", "ActionName ", null, new { TabIndex = 1 }) 
于 2018-09-20T13:24:03.897 回答