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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1390
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: 15376
    
    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: 1390
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Control Form Load
 
Similar Threads
Displaytag checkbox using struts2
Confusing jquery code
parsing data and storing in the xml
Issues Implementing the displayTag
Struts2 layout issue