try this: var innerDocument = $('#indexIframe").get(0).contentDocument; alert($("#cab", innerDocument).val());
On Thu, Dec 11, 2008 at 12:48 PM, m.ugues <[EMAIL PROTECTED]> wrote: > > 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