Option: oninit

This option enables you to specify a function name to be executed when all editor instances has finished it's initialization. This is much like the onload event of a HTML page.

Example of usage of the oninit option:

function myCustomOnInit() {
    alert("We are ready to rumble!!");
}

tinyMCE.init({
    ...
    oninit : "myCustomOnInit"
});