Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下是否应在消息框中显示“测试”?如果不是,我应该做哪些改变?
<html> <base href="http://www.google.com"></base> <body> <script language="JavaScript" type="text/javascript" src="test.js"></script> </body> </html>
test.js 包含:
alert("Test");
是的。请参阅此处,我已将其插入到 jsFiddle 示例中。下次尝试只是这样做而不是问问题。您可以在此处查看示例
是执行消息框的命令!