Important changes to Tiny Cloud pricing > Find out more
Return to Website

onpageload

This option enables you to specify a function name to be executed when the page is loaded but before the TinyMCE instances are created.

Example of usage of the onpageload option:

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

tinyMCE.init({
    ...
    onpageload : "myCustomOnPageLoad"
});

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.