开源的针对javascript
,css
,markdown
衍生的文本编辑框和工具
var iframe = document.createElement("iframe");
iframe.src = "http://www.qinfengzhu.com";
if (iframe.attachEvent){
iframe.attachEvent("onload", function(){
alert("iframe's page is now loaded.");
});
} else {
iframe.onload = function(){
alert("iframe's page is now loaded.");
};
}
document.body.appendChild(iframe);