日期:2014-05-16 浏览次数:20380 次
<script language="javascript">
$(function(){
function send(){
alert($("#s").text());
}
})
</script>
<body >
<a href="javascript:void(0);" onclick="javascript:send();">回复</a><div id="s">nihao</div>
$.ajax({
url: "url",
dataType: 'html',
success: function(shtml){
$(div).html(shtml);
}
});