These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Client Side Onload

I am trying to add some custom toolbar items...I am able to add them however the page's onload event appears to fire before the toolbar has been rendered.

Here is an example using jquery:
$(document).ready(function () {
    $("#toolbar0 table tr:first").append("<td>Jason</td>");    
});
This does NOT work.

However if I do this it works:
$(document).ready(function () {
    setTimeout('Test()', 2000);
});

function Test() {
    $("#toolbar0 table tr:first").append("<td>Jason</td>");
}

Conclusion:  The toolbar is not available when the page has loaded.  If I delay for 2 seconds then it is.  Is there a specific event that the control throws when it has finished rendering?

Thanks,
Jason
Jason Vetter 3/29/2011 9:39 AM
FYI, there is a new property "ClientLoaded" for this purpose in v3.0:
FileUltimate 3.0 RC1 is released
Cem Alacayir 8/1/2011 11:48 AM