jquery函数声明必须在外面

$(document).ready(function(){

//函数不能声明在里面,要在外面

});

function aa(){

}