帮我看下哪里有问题
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>挑战题</title>
<style>
.noshow{
display:none;
}
</style>
</head>
<body>
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li class="noshow">6</li>
<li class="noshow">7</li>
<li class="noshow">8</li>
</ul>
<a href="#">更多</a>
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$("a").click(function(){
var text= $("a").text();
if(text === 更多){
$("a").text("简化");
$(".noshow").css("display","block");
}else{
$("a").text("更多");
$(".noshow").css("display","none");
}
});
});
</script>
</body>
</html>