[英]Changes in code not taking effect - Visual web developer
I have a button which is calling a function that displays an alert. 我有一个按钮正在调用一个显示警报的函数。 The alert is displayed but if I change the messege that the alert is showing, when I press the button the alert will still show the first message I wrote and not the updated one.
显示警报,但是如果我更改显示警报的消息,则当我按下按钮时,警报仍会显示我写的第一条消息,而不是更新的消息。 It is also happening when I add html tags, they won't show when I run the code.
添加html标记时也会发生这种情况,运行代码时它们不会显示。
Why is this happening? 为什么会这样呢?
You know the drill: make some edits to your document, click save, switch over to your browser, refresh it, and then observe the changes. 您知道演练:对文档进行一些编辑,单击“保存”,切换到浏览器,刷新它,然后观察更改。
However, every now and again I will catch myself viewing the wrong site page, viewing the site on a different browser, or viewing the client's old live site! 但是,我会不时地发现自己浏览了错误的网站页面,使用其他浏览器查看了该网站,或者查看了该客户的旧实时网站! Check your address bar + go into your folder and open the page again.
检查地址栏+进入文件夹,然后再次打开页面。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.