尚未发布博文。

function createPopup(){ var popup = open("", "Popup", "width=300,height=200"); var txtOk = popup.document.createElement("TEXTAREA"); var aOk = popup.document.createElement("a"); aOk.innerHTML = "Click here"; popup.document.body.appendChild(txtOk); popup.document.body.appendChild(aOk); }