Your Search Results

    Template:LoadRelatedEvents

    <%
    var el = env.locale;
    var path = "";
    
    switch (el) {
        case "ja":
        case "zh-TW":
            path = "/" + el + "/docs/";
            break;
        default:
            path = "/en-US/docs/"
    }
    
    var path2 = mdn.localString({
        "en-US" : "Web/Reference/Events/"
    });
    
    
    %><ul>
    <li><a href="<%- path %><%- path2 %>DOMContentLoaded"><code>DOMContentLoaded</code></a></li>
    <li><a href="<%- path %><%- path2 %>readystatechange"><code>readystatechange</code></a></li>
    <li><a href="<%- path %><%- path2 %>load"><code>load</code></a></li>
    <li><a href="<%- path %><%- path2 %>beforeunload"><code>beforeunload</code></a></li>
    <li><a href="<%- path %><%- path2 %>unload"><code>unload</code></a></li>
    </ul>
    Search for pages that use Template:LoadRelatedEvents to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Contributors to this page: Sheppy, ethertank, louisremi
    Last updated by: Sheppy,