标签:style io ar color sp for on div bs
function insertAfter(newElement,targetElement) {
var parent = targetElement.parentNode;
if (parent.lastChild == targetElement) {
parent.appendChild(newElement);
} else {
parent.insertBefore(newElement,targetElement.nextSibling);
}
}
标签:style io ar color sp for on div bs
原文地址:http://www.cnblogs.com/wallaceyuan/p/4134582.html