File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Control Form Load Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Control Form Load" Watch "Control Form Load" New topic
Author

Control Form Load

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1533
    
    1
I am using the following code to load a form with a chart. I need to know when the chart is fully loaded so I can populate the second div with data that is derived when the chart is being created.

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
You can add onload and onerror handlers to it that fire when the image is done loading.



Eric



Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1533
    
    1
Eric Pascarello wrote:You can add onload and onerror handlers to it that fire when the image is done loading.



Eric





Thanks. I got the jquery img.load() to do what I needed.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Control Form Load
 
It's not a secret anymore!