Content deleted Content added
tweak demo sumaries to show what's possible in terms of making default summaries more helpful |
testing |
||
Line 37:
var insertBeforeThis = document.getElementById("wpSummary").nextSibling;
alert(insertBeforeThis.toSource());
var theParent = insertBeforeThis.parentNode;
alert(theParent.id);
theParent.insertBefore(dropdown,insertBeforeThis);
theParent.insertBefore(document.createElement("br"),dropdown);
|