1

当我.each(function(i, el) { $.get(el.href, function(body) {打开控制台时,我不断收到 SyntaxError,请帮助谢谢。

var emails = "";
    $(".txt").find("a.hdrlnk").map(function(i, el) { return el })
    .each(function(i, el) { 
      $.get(el.href, function(body) { 
        $.get( $(body).find("#replylink")[0].href, function(linkbody) {
              var email = $(linkbody).find('a[href^="mailto:"]')[0].innerText + ',`enter code here`';
              emails += email;
        })
      })
    })
    setTimeout(function() { `enter code here`
      console.log('emails: ' + emails);
    }, 5000)
4

0 回答 0