87,907
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>JQuery Enhanced Headlines</title>
<script src="../JS/jquery-1.11.3.js"></script>
<script>
$(document).ready(function(e) {
$('a[href^=http://]').each(function(index, element) {
var extLink = $(this).attr('href');
$('#bibList').append('<li>' + extLink + '</li>');
});
});
</script>
</head>
<body>
<a href="http://1"></a>
<a href="http://2"></a>
<a href="mailto:redlegend@163.com"></a>
<div id="bibliorgraphy">
<h3>Web pages referenced in this article</h3>
<ul id="bibList">
</ul>
</div>
</body>
</html>