动态修改js script src值

火凤水凰 火凤水凰 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>首页</title>
<script src="hjhklh342535fasdfafdsaf9389393939399393939"></script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="100"> </td>
</tr>
<tr>
<td height="100" align="center" bgcolor="#CCCCCC"><span class="STYLE1">2019网站正在升级维护中,请捎后...</span></td>
</tr>
</table>
</body>
</html>


<script src="hjhklh342535fasdfafdsaf9389393939399393939"></script>

如何让这个不带扩展名的js 执行,保持动态修改。(这个过程由js执行完成。)

...全文
评论 12
收藏 已收藏
分享
返回顶部
火凤水凰
JavaScript 87,983 成员 224,680 内容