JavaScript 链接不起作用
我的页面底部的链接栏中有这个脚本
<a href="links.html">
<span id="cockroachlinks"
onmouseover="this.innerHTML=' WHAT IS WRONG WITH YOU? '"
onmouseout="this.innerHTML='more dead cockroach related links'">
more dead cockroach related links
</span>
</a>
,当我单击该链接时,出现 404 错误。我确信我上传了该页面并且链接有效。我做错了什么?
I have this script in my linkbar on the bottom of my page
<a href="links.html">
<span id="cockroachlinks"
onmouseover="this.innerHTML=' WHAT IS WRONG WITH YOU? '"
onmouseout="this.innerHTML='more dead cockroach related links'">
more dead cockroach related links
</span>
</a>
And when i click on the link i get a 404 error. I'm positive i uploaded the page and the link is functional. what am i doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试直接访问该文件,只是为了检查您的网络服务器如何响应此链接。
您的链接是有效的,可能是服务器配置或权限或类似的东西!
try to access directly to the file, just to check how your webserver responds do this link.
your link is valid, probably it is a server configuration or a permission or something like that!