[jQuery] How to call JavaScript function from a object tag

[jQuery] How to call JavaScript function from a object tag


Hello:
I hope someone will be able to help me this problem:
Basically, what I want to do is to call a javascript function in the
<OBJECT> tag.
The <OBJECT> would like this:
<object id="test" type="text/html" data="test.html" width="800"
height="600" standby="Please waitting...">/ooject>
If we use <IFRAME> and there is a function in test.html called
test_func, we can call test_func with code:
var iframe = document.getElementById('test');
iframe.test_func();
How to call the function if we use <OBJECT> instead?
Thanks.
Best regards,
Caxton