Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes Control Form Load Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Control Form Load" Watch "Control Form Load" New topic
Author

Control Form Load

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1254
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: 15357
    
    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: 1254
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Control Form Load
 
Similar Threads
parsing data and storing in the xml
Confusing jquery code
Displaytag checkbox using struts2
Struts2 layout issue
Issues Implementing the displayTag