var links = ""
$('#right').load('www.mywebsite.com/download', function(data) {
data.find(".download-row a").each(function(){
links += $(this).attr("href");
});
});
当我在控制台中运行此代码时,它给了我 Object has no method find 。有什么我没有得到...
我只是想获得那个链接
<div class="download-row">
<a href="http://www.website.com">A website</a>
</div>