<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body{ margin:5px; padding:0px; }
p{ margin:0px; padding:1px 1px 1px 0px; }
img{
border:1px solid #003775;
margin:4px;
}
-->
</style>
<script language="javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript">
$(function(){
$("img:eq(0)").clone().appendTo($("p")); //appendTo() 使用这个方法是颠倒了常规的$(A).append(B)的操作,即不是把B追加到A中,而是把A追加到B中
$("img:eq(1)").clone().appendTo($("p:eq(0)"));
});
</script>
</head>
<body>
<img src="08.jpg"> <img src="09.jpg">
<hr>
<p><img src="10.jpg"></p>
<p><img src="10.jpg"></p>
<p><img src="10.jpg"></p>
</body>
</html>