Forum Moderators: open

Message Too Old, No Replies

Iframe Target

         

benhaynes

9:18 pm on Dec 9, 2006 (gmt 0)

10+ Year Member



Ok, should be easy, I have an iFrame and it needs to start a timeout for a function in the main window. Here is what I have and isnt working...


window.setTimeout('check_UPLOAD()', 4000);

It says 'check_UPLOAD()' isnt defined. I tried everything... what am I missing?

Thanks

daveVk

2:35 am on Dec 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



window.setTimeout('parent.window.check_UPLOAD()', 4000);

check_UPLOAD is short for window.check_UPLOAD, a function within the current window/iframe.