我的MVC核心2项目在我的开发服务器上运行良好。一旦我将它发布到生产服务器,我就无法使用任何按钮。我可以导航到所有页面,我的Javascript和JQuery似乎工作正常,但如果有一个按钮,它将不会被点击。需要说明的是,导航按钮,输入按钮(或用于导航,输入等的按钮)将无法使用。
我想我错过了某种类型的库(引导程序?),但不确定。什么或怎么去寻找什么的想法?
<div class="btn-group">
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data- toggle="dropdown" aria-haspopup="true" aria-expanded="false">
DropDownTest<span class="caret" style="background-color:transparent;"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
<li><a asp-area="" asp-controller="Home" asp-action="Something1">Something1</a></li>
<li><a asp-area="" asp-controller="Home" asp-action="Something2">Something2</a></li>
..etc
</ul>
</div>