1、错误描述
Uncaught SyntaxError:Unexpected end of input
2、错误原因
由于编写jquery函数时缺少封闭括号“});”
$(function(){
3、解决办法
将封闭括号加上
$(function(){ });