my html content is in iframe.
<iframe id="test" name=""src="test.html">
.....content from test.html
</iframe>
test.html(在我的服务器中)有一个类似的链接
<div id="division"><a href="www.google.com"></a></div>
jQuery
$(document).ready(function() {
var value=$("#division").find('a').attr('href');
alert(value);
}
问题:alert(value) 返回 undefined