- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在 VS 2013 下运行基于 Razor 的 Web 项目时,使用 IIS,我在 browserLink 中看到以下错误:
Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: index
关闭 browserLink 可以消除错误。但真正的解决方法是什么?
类似问题请看这里:
最佳答案
这个问题似乎只在使用 browserLink 时出现,通常不会出现在生产环境中。
I found a discussion about it here .其中说:
The issue is known bug in jQuery which is internally used in the Browser Link functionality. When selecting elements which contains ":" in its id, jQuery does not return element. The reason for the problem is that jQuery has some predefined pseudo-selectors and “:00” for example is not a valid selector.
The Browser Link script tries to find our detail tables elements by its id (the detail table id contains ":"), jQuery does not return element and the Browser Link scripts throws an error that the character sequence is not recognized.
As this issue is still not fixed in the latest version of jQuery the only workaround for now is to disable the Browser Link feature in VS 2013.
给定的禁用browserLink的选项包括以下选项:
vs:EnableBrowserLink
设置为 false
。debug=false
。关于iis - browserLink 错误 -- 不支持的伪 : index,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20221845/
我对“browserLink”有一些误解请看下面 没关系.. 但是 当我在输入标签上添加 type="text" 时,我会得到 Uncaught Error: Syntax err
在 VS 2013 下运行基于 Razor 的 Web 项目时,使用 IIS,我在 browserLink 中看到以下错误: Uncaught Error: Syntax error, unrecog
将.Net Core 2.2升级到.Net Core 3.0我的浏览器链接变得不起作用,有人知道如何排除故障。 执行编辑 cshtml 并刷新浏览器,它没有反射(reflect)更改。 最佳答案 解决
自从在 Visual Studio 2017 中升级到 ASP.NET Core 2.1 后,BrowserLink 不再有效。如果我使用基本的“ASP.NET Core Web 应用程序”模板,选择
我一直在使用 Visual Studio 2013 并且喜欢浏览器链接功能。但是,有时它会在 chrome 或 ie 的开发人员控制台中给我 404。 (其他浏览器没试过): 难道我做错了什么?它没有
如何让 BrowserLink 在 MVC6 中工作 - 使用 RC1 Release 1。使用 Visual Studio 2015 Update 1。 浏览器永远不会出现在浏览器链接仪表板中。没有
我无法在 ASP.NET Core 2.0 中同步 CSS。 这就是我所做的: 使用 MS 模板创建全新的应用 启动生成的模板(存在 app.UseBrowserLink()) 尝试通过将背景颜色设置
当我为 ASP.Net Core 1.1 应用程序启用 BrowserLink 时,我在浏览器中收到以下错误,我认为是因为 BrowserLink 不起作用。 Browser Link: Except
我是一名优秀的程序员,十分优秀!