var elements = document.getElementsByClassName("p-rich_text_section"); if (elements.length > 0) { var content = elements[0].innerHTML; console.log(content); } else { console.log("未找到相应元素"); } 使用这个代码获取一个元素,保存在content里,如何在quicker里读取content中的值
var elements = document.getElementsByClassName("p-rich_text_section"); if (elements.length > 0) { var content = elements[0].innerHTML; console.log(content); } else { console.log("未找到相应元素"); } sendReplyToQuicker(true,''{htm:content),qk_msg_serial);