This project is read-only.
Overriding an inline event and then restoring it immediately is easy.

$("#myButton").override('onclick', 'click', function(oldFunction, jQueryElement, arguments) {
        alert('This will only be shown once!');
        jQueryElement.override('restore', 'onclick');
    });

Last edited Dec 31, 2012 at 6:58 PM by aikeru, version 1

Comments

No comments yet.