最赞回答 / PHP设计工程师
<!DOCTYPE html&t;&&t;hhtml&t; &;hehead&; &itltitle&new new document &le&/title<
&ttpmeta http-equiv="Content-Type" content="text/html; charset=gbk"/&rip
&="tscript type="text/javascript"&n o
function openWindow(){...
2020-05-18
最新回答 / 慕田峪146999
var txt = document.getElementById("txt"); txt.removeAttribute("style"); //取消设置的代码
2020-05-17
最新回答 / 奕帝传说_梦
我的实现是把txt原本样式保留,然后新建一个txt2来做其他的样式。在第一次改变时做一个If判断如果nowdom.className=="txt"就首先nowdom.className="txt2",然后再进行随便修改。最后如果要返回就直接nowdom.className="txt"就完事了
2020-05-11