Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这将从带有unassignedUsers元素的锚点中获取文本:
unassignedUsers
var links_list = []; var links = document.getElementById('unassignedUsers').getElementsByTagName('a'); for(var a in links) { if(typeof links[a] == undefined) continue; links_list.push(links[a].innerHTML); }