日期:2014-05-16 浏览次数:20447 次
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>
<script>
function test() {
$("#btn div span").html(parseInt($("#btn div span").html()) + 1)
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="btn" class="subBtn" onclick="javascript:test()">
<div>
<span> 52 </span>
</div>
</div>
</div>
</form>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="Scripts/jq