为什么要最外层的$(function(){})?去掉效果也一样啊!
<script type="text/javascript">
$("#btntest").bind("click", function () {
$("div").toggle(
funtion(){
$(this).html("苹果");
},
funtion(){
$(this).html("香蕉");
}
});
</script>