document.getElementById("ptop").innerHTML=" 地址带有&" alert() &变成&

2024-12-02 06:30:55
推荐回答(1个)
回答1:

document.getElementById("ptop").innerHTML="地址带有&";
var hf=document.getElementById("ptop").innerText || document.getElementById ;("ptop").textContent;
alert(hf);