![](/img/trans.png)
[英]JavaScript runtime error: Unable to get property 'value' of undefined or null reference
[英]javascript runtime error: unable to get property 'replace' of undefined or null reference
我在该论坛上看到过有关此错误的帖子,但是我仍然无法弄清楚代码中触发JavaScript错误的位置。 调用堆栈仅显示angular.js代码。 他们都不是我的代码。 因此,很难找出问题出在哪里。 当我单击继续时,将显示我的应用程序的主页,但所有导航链接均不可导航。 每个链接具有相同的网址。 “ http:// localhost:52334 / myApp /# :”。 我的应用程序正在IIS Express上运行。 _Layout.cshtml中有一个。 谢谢您的帮助。
Thank you for the response. My application works when I changed from <base href="/myApp/" /> to <base href="/myApp" /> or <base href="/" />.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.