<script type="text/javascript">
var url = document.URL;
var strg = url.toString();
function StartAjax(ResultsId){
$.ajax({
type: "GET",
url: "mark.php",
cache: false,
data: (strg),
success: function(html){
$("#"+ResultsId).append(html);
**$("#").hide();**
}
});
}
</script>
<br><a href="#" name="link" onclick="StartAjax('ResultsId');">Proceed</a>
<div id="ResultsId"></div>
Ajax 做了它应该做的事情,但是我如何在链接被点击后隐藏它?