Both the iframe and the parent document are on the same domain. What I would like to do is give the js running in the iframe a callback function that resides in the parent d
Yes you can - I've done this many times before in a previous job (... their "software" was basically 1,000 frames and a tabbed document).
Assuming you have this code in your top frame:
function blah() { alert("it worked!"); }
You can call this in the iframe...
top.blah();
Also, you can have the parent call down into the child, but the other way around is easier in my opinion.