我确实检查了这篇文章 How would i get a button to change a objects opacity with html, js & css 了解如何使用按钮更改对象的不透明度但是,我不知道如何自定义此代码,以便将文本的不透明度链接到现有按钮的类或Id。我可以将“更改不透明度”按钮链接到我想要自定义不透明度的文本编辑器,但我无法将现有按钮链接到此功能。;
const e
您好,我有一个问题,我如何才能显示保存的用户内容值onclick到另一个div这是我的用户编辑保存脚本function saveEdits() {
var editElem = document.getElementById("edit");
var userVersion=null)
document.
关于如何将原来的html按钮替换/更改为另一个按钮,我做了一些研究。但这两种方式都不起作用。这是我的密码:var editBtn = "editBtn" + id; //in order to get the id of the edit buttoncSave.innerHTML = "<td>&l