*
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 Android Security Essentials Live Lessons 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: 1393
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: 1393
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
Confusing jquery code
Issues Implementing the displayTag
parsing data and storing in the xml
Displaytag checkbox using struts2
Struts2 layout issue