xheditor 是网上一款 开源的编辑器, http://xheditor.com/ 这里,我现在要实现这样一个功能,通过一个按钮,动态添加 xheditor 这个编辑器,无数量限制,请问如何实现?我以下这么写没效果:
var tx=document.createElement('textarea');
tx.setAttribute("class","xheditor");
node.appendChild(tx);
var tx=document.createElement('textarea');
tx.setAttribute("class","xheditor");
node.appendChild(tx);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货