我申请:
$(".newContentLink").click(function() { $("#test").append("1"); });
在此:
<span id="contents"> <input class="newContentLink" type="submit" style="width: 100%;" value="CREATE A NEW CONTENT"/> <span id="content1" class="content study"> </span> <input class="newContentLink" type="submit" style="width: 100%;" value="CREATE A NEW CONTENT"/> <span id="content3" class="content study"> </span> <input class="newContentLink" type="submit" style="width: 100%;" value="CREATE A NEW CONTENT"/> <span id="content4" class="content category"> </span> <input class="newContentLink" type="submit" style="width: 100%;" value="CREATE A NEW CONTENT"/> </span>