function insertAfter(addition,target) {
var parent = target.parentNode;
if (parent.lastChild == target) {
parent.appendChild(addition);
} else {
parent.insertBefore(addition,target.nextSibling);
}
}
var payload = document.getElementById("payload");
var target = document.getElementById("target");
var anchors =
No comments:
Post a Comment