I have a webpage with the following structure:
... &
yeah I got it. thanks.
This is what I wrote.
$("div[id='test'] > span",frames['frame1'].document).text()
Try:
$("div#test", $("#someIFrame").contents())