Traverse frameset frame

Traverse frameset frame

Yes, frames are lame but that's what I'm stuck with.

I've been unable to get a handle on children/contents of a frame. I can query the attributes of the frame, but traversal functions contents(), children(), find() return nothing. I do get something back with this:

target = jQuery("frame");
target[0].contentDocument

but how to jQuerify contentDocument?