最后一个按钮实现
function cancel() {
var change=confirm("是否取消设置?");
if(change)
{
txt.style.color="black";
txt.style.width="600px";
txt.style.height="400px";
} }//定义"取消设置"的函数
相应按钮内添加 onclick="cancel()"
function cancel() {
var change=confirm("是否取消设置?");
if(change)
{
txt.style.color="black";
txt.style.width="600px";
txt.style.height="400px";
} }//定义"取消设置"的函数
相应按钮内添加 onclick="cancel()"
2018-12-04
举报