<html>
<head>
<meta charset="utf-8">
<title>aaaaa</title>
<script src="js/jquery-1.8.0.min.js"></script>
</head>
<body>
<div id="prize" style="border:1px solidwidth:1000pxoverflow:hidden">
活动名称 9周年庆</br>
<span id="sp_prizename">奖品名称1</span>:
<input type="text" name="prizeName" value=""/>
奖品类型:
<select name="prizeTypes">
<option value="1">活动中抽检奖品</option>
<option value="0">活动结束派发奖品</option>
</select>
中奖概率:
<input type="text" name="prizeProbably" value=""/>
</br></br></br>
</div>
<div>
<input type="button" value="增加" onClick="add()" />
</br></br></br>
</div>
</body>
<script type="text/javascript">
var k=2
function add(){
var prize=$("#prize")
var inHtml="活动名称 9周年庆</br>"+
"<span id=\"sp_prizename\">奖品名称"+(k++)+"</span>:"+
"<input type=\"text\" name=\"prizeName\" value=\"\"/>"+
" 奖品类型:"+
"<select name=\"prizeTypes\">"+
"<option value=\"1\">活动中抽检奖品</option>"+
"<option value=\"0\">活动结束派发奖品</option>"+
"</select>"+
" 中奖概率:"+
"<input type=\"text\" name=\"prizeProbably\" value=\"\"/>"+
"</br></br></br>"
prize.append(inHtml)
}
</script>
</html>