I have an external iframe. Inside that iframe i search for a specific link. I want to know the link href. The following code seems to find me the a element. But i get undefined for the attr href.
Finding the a element in the iframe which seems to work, i get an element:
$('.content-7232342').contents().find('body > a:first-of-type')
Trying to get the href attribute results in undefined:
$('.content-7232342').contents().find('body > a:first-of-type').attr('href')