[jQuery] Code migration from js to jquery

[jQuery] Code migration from js to jquery


Is there an elegant way to migrate this piece of code
var innerDocument = parent.document.getElementById
("indexIframe").contentDocument;
alert(innerDocument.getElementById("cab").value);
with jQuery?
I cannot get it :(
Thanks, kind regards
Massimo Ugues