81,092
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("p").click(function(){
$('#notifylist').append('<li style="text-align:center">无提醒信息</li>');
//$('#notifylist').append('无提醒信息');
$(this).hide();
});
});
</script>
</head>
<body>
<div class="weifx_info_lst">
<ul class="weifx_info clearfix" id="notifylist">123
</ul>
</div>
<p>如果您点击我,我会消失。</p>
<p>点击我,我会消失。</p>
<p>也要点击我哦。</p>
</body>
</html>