I am encountering problems which I believe to be related to the document (inside a FRAME) not being quite ready to go, and would like to know what the best practices are for testing for "ready" using jQuery 1.3.2 -- the version required for a particular plug-in that I'm using.
Also, should the test be done in the document 开发者_如何学JAVAthat sets up the frameset or in the document that gets loaded by the frameset?
If you're just having to wait for the image to load, could you just use the image's onload
event handler instead?
var imgMap = new Image();
....
imgMap.onload = function() {
...
}
精彩评论