title: <a asp-controller> with asp-fragment don't work and causes exception in console
body: <p>I've got restaurant menu site and I want to navigate directly to a menu fragment from a landing page. This works fine when i paste the url into browser but causes exception in console after I click the link:</p>
  
  <pre><code>    SCRIPT5022: Syntax error, unrecognized expression: /Menu#Drinks
      jquery.js (1580,2)
  </code></pre>
  
  <p>Here is the code I tried: </p>
  
  <pre><code>    &lt;a asp-controller="Menu" asp-fragment="Drinks"&gt;Drinks&lt;/a&gt;
      &lt;a href="/Menu#Drinks"&gt;Drinks 2&lt;/a&gt;
      &lt;a href="http://localhost:64749/Menu#Drinks"&gt;Drinks 3&lt;/a&gt;
  </code></pre>
  
  <p>Also this is my "Menu" controller:</p>
  
  <pre><code>public class MenuController : Controller
  {        
      private readonly MenuService _menuSrvc;
  
      public MenuController(MenuService menuSrvc)
      {
          _menuSrvc = menuSrvc;
      }
  
      public IActionResult Index()
      {
          ViewData.Model = new MenuViewModel()
          {
              MenuCategories = _menuSrvc.GetMenu(),
          };
  
          return View("~/Views/Menu/Menu.cshtml");
      }
  }
  </code></pre>
  
  <p>All nugets are up to date. Bower.json:
      "bootstrap": "3.3.7",
      "jquery": "^3.2.1",
      "jquery-validation": "^1.16.0",
      "jquery-validation-unobtrusive": "^3.2.6"</p>