16.5. The Last Step

The last step in making AjaxMail functional is to call oMailbox.load() when the page has been loaded. To accomplish this, use the window's onload event handler:

window.onload = function () {
    oMailbox.load();
};

Now, when the page has finished loading, the Ajax initialization begins and the application is ready to use.

To test AjaxMail, navigate to www.yourdomainname.com/AjaxMail. This loads the initial view and you are ready to go.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset