//★★就是这个地方,提示:"Uncaught ReferenceError: show is not defined"
就是★★的地方,提示:"Uncaught ReferenceError: show is not defined"
我要是把
$(document).ready(function(){ /***加载事件的开始,这行就不别改了!**/
删了,第一个 又不管事了...
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
楼主应该这样写吧
如果你定义在reday里面的function实际上这是一个私有
作用域,show只能在function() {}里面使用;而two绑定的函数必须是在全局中可以调用到。show的作用域不对:楼主请参考楼上的两种处理方法