How do people simulate the ondocumentready eventlistener for microsoft's...
...htc files to just regular javascript. Basically I want a javascript function to be called when an html element is rendered. I am currently using iframes or the img tag to simulate the htc event ondocumentready since those are the only html elements supporting the onload property. It all works well, is there a better way?
|