我写的,请参考
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>挑战题</title>
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js" type="text/javascript"></script>
<style type="text/css">
.hidden{display:none;}
</style>
</head>
<body>
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li class="hidden">6</li>
<li class="hidden">7</li>
<li class="hidden">8</li>
<li class="hidden">9</li>
</ul>
<a href="javascript:;"onclick="change(this)">更多</a>
</body>
<script type="text/javascript">
function change(obj){
if(obj.innerHTML=="更多"){
$("li.hidden").css('display','block');
obj.innerHTML=("简化");
}else{
$("li.hidden").css('display','none');
obj.innerHTML=("更多");
}
}
</script>
</html>