【发布时间】:2016-08-29 10:34:34
【问题描述】:
我有这个代码:
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
<a id="na" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Environments <span class="caret"></span></a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Reports - ", "Index", "Reports", new { environment = "" }, null)</li>
<li>@Html.ActionLink("Reports - ", "Index", "Reports", new {environment = "" }, null)</li>
<li>@Html.ActionLink("Reports - ", "Index", "Reports", new { environment = "" }, null)</li>
// <li>@Html.ActionLink("Reports - ", "Index", "Reports", new { environment = "" }, null)</li>
</ul>
`
我想知道如何显示用户在渲染 html 上按下的选定选项
【问题讨论】:
标签: javascript jquery asp.net-mvc c#-4.0