以下是使用jQuery的示例代码:

$("#chatgpt-response").attr("placeholder", "").hide();

这将删除placeholder属性中的内容并将元素隐藏。如果您只想隐藏元素而不更改placeholder属性,可以使用以下代码:

$("#chatgpt-response").hide();
将id=chatgpt-response placeholder=里面的固定内容立马隐藏

原文地址: https://www.cveoy.top/t/topic/9pa 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录