Hello

One solution, if you include the other libraries first, is to then do
something like:

var existingOnClick = document.onclick;
document.onclick  = function (oEvent) {
        if (!existingOnClick(eEvent)) {
            return false;
        }
        var o = document.getElementById("wpQuickEntryAdd");
        if(o){
            o.parentNode.removeChild(o);
        }

}

which basically saves a reference to the previous onclick function and
then calls it before executing your onclick.

James


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to