It seems that the “pageInit” event is firing before the page is fully loaded (rendered). I am trying to get the width of a DIV using:
however the above returns “0” when called in the pageInit event. If i call the same code from a click on the page, it correctly returns the DIV width (360). I need to retrieve the width of a DIV during pageInit. How can I do this?